Spaces:
Runtime error
Runtime error
Colton Loftus
commited on
Commit
·
060a282
1
Parent(s):
a1eeca4
another commit
Browse files
app.py
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
import streamlit as st
|
2 |
|
3 |
-
x = st.slider(
|
4 |
-
st.write(x,
|
|
|
|
1 |
import streamlit as st
|
2 |
|
3 |
+
x = st.slider("Select a value")
|
4 |
+
st.write(x, "squared is", x * x)
|
5 |
+
st.write(x, "cubed is", x * x * x)
|