Update app.py
Browse files
app.py
CHANGED
|
@@ -14,9 +14,9 @@ def sum_of_two(a,b):
|
|
| 14 |
prod = a*b
|
| 15 |
sum1 = a+b
|
| 16 |
if prod <= 1000 :
|
| 17 |
-
return(
|
| 18 |
else:
|
| 19 |
-
return(
|
| 20 |
|
| 21 |
st.markdown("<h3 style='text-align:center; font-size:24px;'>Mathematical and String Operations</h3>", unsafe_allow_html=True)
|
| 22 |
st.write("---")
|
|
|
|
| 14 |
prod = a*b
|
| 15 |
sum1 = a+b
|
| 16 |
if prod <= 1000 :
|
| 17 |
+
return(prod)
|
| 18 |
else:
|
| 19 |
+
return(sum1)
|
| 20 |
|
| 21 |
st.markdown("<h3 style='text-align:center; font-size:24px;'>Mathematical and String Operations</h3>", unsafe_allow_html=True)
|
| 22 |
st.write("---")
|