Update app.py
Browse files
app.py
CHANGED
|
@@ -1,4 +1,7 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
|
| 3 |
-
|
| 4 |
-
st.write(
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
|
| 3 |
+
x1 = st.slider('Select a value')
|
| 4 |
+
st.write(x1, 'squared is', x1 * x1)
|
| 5 |
+
|
| 6 |
+
x2 = st.slider('Select a value')
|
| 7 |
+
st.write(x2, 'squared is', x2 * x2)
|