import streamlit as st x = st.slider('Select a value') st.write(x, 'squared is', x * x) # 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