WAP to obtain three numbers from the user and print the largest and smaller number
Answers
Answered by
0
a=int(input("enter the number ::"))
b=int(input("enter the number ::"))
c=int(input("enter the number ::"))
L1 = [a,b,c]
Largest= max(L1)
Smallest= min(L1)
print("LARGEST NUMBER :::",Largest)
print("SMALLEST NUMBER::",Smallest)
Similar questions
Physics,
2 months ago
Math,
2 months ago
Math,
2 months ago
Math,
5 months ago
Computer Science,
5 months ago
Math,
11 months ago
Math,
11 months ago
Social Sciences,
11 months ago