If sum is less than 10 print sum else print product in python Get link Facebook X Pinterest Email Other Apps March 28, 2022 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) Get link Facebook X Pinterest Email Other Apps Comments
Comments
Post a Comment