Vihang28 commited on
Commit
cce4c75
·
1 Parent(s): d8a4505

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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("Product of the numbers: ",prod)
18
  else:
19
- return("Sum of the numbers: ",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("---")
 
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("---")