import streamlit as st x = st.slider('slect a value') st.write(x, 'square is', x*x)