a multiselect with a different default color
To upload files, please first save the app
import streamlit as st
colors = st.multiselect(
label="Select your favorite colors",
options=["Red", "Green", "Blue", "Yellow"],
default=["Green"], # Changed default selection to Green
)
st.write("You selected:", colors)
Hi! I can help you with any questions about Streamlit and Python. What would you like to know?