import streamlit as st x = st.slider('Select a value') st.write(x, 'raised to the power of 3 is', x * x * x)