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