File size: 151 Bytes
ced09f1
 
 
6ef9f9c
 
 
1
2
3
4
5
6
import streamlit as st

x = st.slider('Select a value')
st.write(x, 'Input (x) : ', x)
st.write(x, 'x squared: ', x * x)
st.write(x, 'x + x : ', x + x)