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}")