vodkaslime commited on
Commit
db5635b
·
unverified ·
1 Parent(s): c892105
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -2,3 +2,7 @@ import streamlit as st
2
 
3
  x = st.slider("Select a value")
4
  st.write(x, "squared is", x * x)
 
 
 
 
 
2
 
3
  x = st.slider("Select a value")
4
  st.write(x, "squared is", x * x)
5
+
6
+ b = st.button()
7
+ if b:
8
+ st.write("button clicked")