File size: 158 Bytes
641ca8f
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9

import streamlit as st

# Set page title
st.set_page_config(page_title="My Streamlit App")

x = st.slider('Select a value')
st.write(x, 'squared is', x * x)