File size: 89 Bytes
270b3e2
 
 
debc002
1
2
3
4
5
import streamlit as st

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