You are a school administrator tracking weekly attendance for five classes: Math, Science, English, History, and PE. Input the weekly attendance for each class, display the data in a table, and generate a bar chart to identify the most attended class.
Set up the Streamlit app:
streamlit
, pandas
, and plotly.express
.Input attendance data:
st.number_input
to enter attendance for Math, Science, English, History, and PE.Display data:
st.table
to display the data.Create a bar chart:
st.plotly_chart
.Run the app:
streamlit run app.py
.We’re always looking for international STEM educators to join our team. If you are interested, please send us a mail and we’ll get back to you!
If you have any questions, kindly send us a mail. Don’t forget to follow and like all our social accounts to get updates on competitions!