import streamlit as st st.set_page_config("Notebook",page_icon="📒",layout="centered") st.title(":red[Welcome to the Python Notebook]") st.markdown("---") st.write("This is a simple notebook created using the streamlit library. You can use it to write and execute Python code in an interactive way.") col1,col2=st.columns(2) st.subheader("Index") with col1: st.write(f"**Page1**: Open Basics") if st.button("Open Basics",type="primary"): st.page_link("pages/Page 1 - Basics.py", label="Open Basics", icon="📝") st.write(f"**Page2**: Operators") if st.button("Open Operators",type="primary"): st.page_link("pages/Page 2 - Operators.py", label="Open Operators", icon="🧮") with col2: st.write(f"**Page3**: Conditional Statements") if st.button("Open Conditional Statements",type="primary"): st.page_link("pages/Page 3 - Conditionals.py", label="Open Conditionals", icon="🔀") st.write(f"**Page4**: Loops") if st.button("Open Loops",type="primary"): st.page_link("pages/Page 4 - Loops.py", label="Open Loops", icon="🔄") st.write("Thankyou for visiting this notebook. I hope you find it useful and informative. If you have any questions or suggestions, please feel free to reach out to me.") if st.button("Thank you",type="primary"): st.page_link("pages/Page 5 - Thankyou.py", label="Open Thank You", icon="🙏") col1, col2, col3 = st.columns(3) col1.metric(label="Total Revenue", value="$45,200", delta="12%") col2.metric(label="Active Users", value="1,240", delta="-3%") col3.metric(label="Conversion Rate", value="4.2%", delta="0.8%")