Spaces:
Sleeping
Sleeping
Commit
•
fba42fc
1
Parent(s):
dbc8841
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ st.title("simple calculator by fsa")
|
|
20 |
num1=st.number_input("enter first no.:")
|
21 |
num2=st.number_input("enter second no.:")
|
22 |
|
23 |
-
choice=st.radio("select your choice",("ADD","SUB","
|
24 |
|
25 |
if choice=="ADD":
|
26 |
result = add(num1,num2)
|
|
|
20 |
num1=st.number_input("enter first no.:")
|
21 |
num2=st.number_input("enter second no.:")
|
22 |
|
23 |
+
choice=st.radio("select your choice",("ADD","SUB","MULTIPLY","DIVIDE"))
|
24 |
|
25 |
if choice=="ADD":
|
26 |
result = add(num1,num2)
|