Streamlit selectbox setting value

you can try this

select=st.sidebar.radio("choose an option",("A","B","C"))

or

select=st.sidebar.selectbox("choose an option",("A","B","C"))

two ways both can change pages