Posts

Showing posts with the label If sum is less than 10 print sum else print product in python

If sum is less than 10 print sum else print product in python

If sum is less than 10 print sum else print product in python      a=int(input())      b=int(input())      if((a+b)<10):          print(a+b)      else:          print(a*b)