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
Math,
3 months ago
Social Sciences,
7 months ago
Science,
7 months ago
Social Sciences,
11 months ago
English,
11 months ago
Math,
11 months ago