File size: 121 Bytes
5f3229a
 
 
f5d6ba4
 
1
2
3
4
5
import streamlit as st

x = st.slider('Select a value')
st.write(x, 'squared is', x * x)
st.write(x, 'times 2 is', x * 2)