import streamlit as st x = st.slider('Select a value') st.write(x, 'Input (x) : ', x) st.write(x, 'x squared: ', x * x) st.write(x, 'x + x : ', x + x)