import streamlit as st import random st.set_page_config(page_title="Random Quote Generator", page_icon="💡") st.title("💡 Random Quote Generator") # A small list of quotes quotes = [ "The best way to predict the future is to invent it. – Alan Kay", "Success usually comes to those who are too busy to be looking for it. – Henry David Thoreau", "Don't watch the clock; do what it does. Keep going. – Sam Levenson", "Whether you think you can or you think you can't, you're right. – Henry Ford", "Simplicity is the ultimate sophistication. – Leonardo da Vinci", "In the middle of every difficulty lies opportunity. – Albert Einstein" ] if st.button("Generate Quote"): st.info(random.choice(quotes))