atticus-carter's picture
Create app.py
3481f66 verified
raw
history blame
145 Bytes
import streamlit as st
# Create a slider and display the squared value
x = st.slider('Select a value', 0, 100)
st.write(x, 'squared is', x * x)