Spaces:
Sleeping
Sleeping
shikharyashmaurya
commited on
Commit
•
ae7c768
1
Parent(s):
e0fe2ed
Update app.py
Browse files
app.py
CHANGED
@@ -9,8 +9,8 @@ st.title("Pythagorean Theorem Simulator")
|
|
9 |
st.write("Enter the values of a and b to find the hypotenuse (c) using the formula: a² + b² = c²")
|
10 |
|
11 |
# Create input fields for a and b
|
12 |
-
a = st.number_input("Enter value of a:", min_value=0
|
13 |
-
b = st.number_input("Enter value of b:", min_value=0
|
14 |
|
15 |
# Calculate c using the function
|
16 |
try:
|
|
|
9 |
st.write("Enter the values of a and b to find the hypotenuse (c) using the formula: a² + b² = c²")
|
10 |
|
11 |
# Create input fields for a and b
|
12 |
+
a = st.number_input("Enter value of a:", min_value=0)
|
13 |
+
b = st.number_input("Enter value of b:", min_value=0)
|
14 |
|
15 |
# Calculate c using the function
|
16 |
try:
|