write an appropriate selection statement (if) for each of the folloing (a) to check whether the value of variable num1 is greater then the value of num2 or not
Answers
Answered by
0
Answer:
num1=int(input("enter the number"))
num2=int(input("enter the number"))
if num1 > num2:
print("num1 is greater than num2")
else:
print("num2 is greater than num 1")
Similar questions
Biology,
3 months ago
Accountancy,
3 months ago
Math,
7 months ago
Social Sciences,
7 months ago
Biology,
10 months ago
Math,
10 months ago