import streamlit as st if st.button("Press me"): st.text("The button with text Press me was clicked") # Rest of the logic
if st.button('Say hello'): st.write('Why hello there') else: st.write('Goodbye')