Answers for "streamlit dropdown select"

0

streamlit dropdown

# Add selectbox in streamlit
>>> option = st.selectbox(
...     'How would you like to be contacted?',
...     ('Email', 'Home phone', 'Mobile phone'))
>>>
>>> st.write('You selected:', option)
Posted by: Guest on October-31-2020

Python Answers by Framework

Browse Popular Code Answers by Language