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