📅  最后修改于: 2022-03-11 14:46:58.388000             🧑  作者: Mango
# Add selectbox in streamlit
>>> option = st.selectbox(
... 'How would you like to be contacted?',
... ('Email', 'Home phone', 'Mobile phone'))
>>>
>>> st.write('You selected:', option)