fahadriazkhan commited on
Commit
51c664f
·
verified ·
1 Parent(s): 1e29bb5

Update Multi_select.py

Browse files
Files changed (1) hide show
  1. Multi_select.py +7 -0
Multi_select.py CHANGED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+
3
+ st.title("Multi-Select Example")
4
+
5
+ # Multi-select widget
6
+ hobbies = st.multiselect("Select your hobbies:", ["Reading", "Traveling", "Cooking", "Gaming"])
7
+ st.write(f"Your selected hobbies are: {', '.join(hobbies)}")