Chrysoula commited on
Commit
886396b
1 Parent(s): 9b54a84

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -1,4 +1,9 @@
1
  import streamlit as st
2
 
3
  x = st.slider('Select a value')
4
- st.write(x, 'squared is', x * x)
 
 
 
 
 
 
1
  import streamlit as st
2
 
3
  x = st.slider('Select a value')
4
+ st.write(x, 'squared is', x * x)
5
+
6
+ if st.button('Say hello'):
7
+ st.write('Why hello there')
8
+ else:
9
+ st.write('Goodbye')