258cc09c24 commited on
Commit
19fe07d
·
verified ·
1 Parent(s): afdce9e

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -0
app.py ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+
3
+ # عنوان التطبيق
4
+ st.title("تطبيق Streamlit البسيط")
5
+
6
+ # إدخال من المستخدم
7
+ x = st.slider('اختر قيمة', 0, 100)
8
+
9
+ # عرض النتيجة
10
+ st.write(f'{x} مربعها هو {x * x}')