When I write
if st.button(“text”):
print(“text”)
When I run it to the Streamlit local, the text does not appear. Did I do something wrong within my code?
When I write
if st.button(“text”):
print(“text”)
When I run it to the Streamlit local, the text does not appear. Did I do something wrong within my code?
Hi
you must add
if st.button ("Print:"):
st.write("text")
Thank you so much! By the way, I have 2 questions if that’s ok. ![]()
Hi,
check this link about the functionalities: