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