File size: 138 Bytes
a221723
 
eb39f8d
a221723
 
1
2
3
4
5
import streamlit as st

user_input = st.text_input("label goes here", "")
x = st.slider('Select a value')
st.write(x, 'squared is', x * x)