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