3) Write a Python program to enter two numbers say a and b.The first variables
greater than the second print accordingly else otherwise. In case both the
numbers are equal print 'equal'
Answers
Answered by
0
Explanation:
A=INT(INPUT("ENTER 1ST NO."))
B=INT(INPUT("ENTER 2ND NO."))
IF (A>B):
PRINT(A,B)
IF (B>A):
PRINT(B,A)
ELSE:
PRINT("EQUAL")
Similar questions
Computer Science,
3 months ago
Math,
3 months ago
English,
3 months ago
Social Sciences,
6 months ago
Science,
6 months ago
Social Sciences,
10 months ago
English,
10 months ago
Math,
10 months ago