Spaces:
Runtime error
Runtime error
updated app
Browse files
app.py
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
import streamlit as st
|
2 |
|
3 |
x = st.slider('Select a value')
|
4 |
-
st.write(x, '
|
|
|
|
|
|
1 |
import streamlit as st
|
2 |
|
3 |
x = st.slider('Select a value')
|
4 |
+
st.write(x, 'Input (x) : ', x)
|
5 |
+
st.write(x, 'x squared: ', x * x)
|
6 |
+
st.write(x, 'x + x : ', x + x)
|