modda / app.py
258cc09c24's picture
Create app.py
19fe07d verified
raw
history blame
244 Bytes
import streamlit as st
# عنوان التطبيق
st.title("تطبيق Streamlit البسيط")
# إدخال من المستخدم
x = st.slider('اختر قيمة', 0, 100)
# عرض النتيجة
st.write(f'{x} مربعها هو {x * x}')