WAP to enter two numbers by the user. Find their sum or product on user’s choice. (choice 1-sum, 2-product) .
Answers
Answered by
0
Answer:
Python Language:
x,y,choice=int(input()),int(input()),int(input())
if choice==1:
print(x+y)
elif choice ==2:
print(x*y)
Similar questions