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