Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
chollada
/
myproject
like
0
Runtime error
App
Files
Files
Community
chollada
commited on
Nov 23, 2022
Commit
a4a6bd5
•
1 Parent(s):
cb2c9d6
Create app.py
Browse files
Files changed (1)
hide
show
app.py
+3
-0
app.py
ADDED
Viewed
@@ -0,0 +1,3 @@
1
+
import streamlit as st
2
+
x = st.slider('Pick a number', 0, 100)
3
+
st.write('x ยกกำลัง 2 เท่ากับ', x*x)