Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
Naren30
/
practic1
like
0
Runtime error
App
Files
Files
Community
Naren30
commited on
Dec 26, 2022
Commit
19e6bbc
•
1 Parent(s):
0c393e0
Create app.py
Browse files
Files changed (1)
hide
show
app.py
+4
-0
app.py
ADDED
Viewed
@@ -0,0 +1,4 @@
1
+
import streamlit as st
2
+
3
+
x = st.slider('Select a value')
4
+
st.write(x, 'squared is', x * x)