atticus-carter commited on
Commit
3481f66
·
verified ·
1 Parent(s): 888f14f

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ import streamlit as st
2
+
3
+ # Create a slider and display the squared value
4
+ x = st.slider('Select a value', 0, 100)
5
+ st.write(x, 'squared is', x * x)