a selectbox with a default value
To upload files, please first save the app
import streamlit as st
option = st.selectbox(
"Choose a contact method:",
("Email", "Home phone", "Mobile phone"),
index=0 # Default value is the first option
)
st.write("You selected:", option)
Hi! I can help you with any questions about Streamlit and Python. What would you like to know?