a494fa1
1
2
3
4
5
6
7
8
9
import streamlit as st st.title("Dropdown Selection Example") # Dropdown menu options = ["Python", "JavaScript", "Java", "C++"] choice = st.selectbox("Choose a programming language:", options) st.write(f"You selected: {choice}")