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