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
Math,
1 month ago
English,
1 month ago
Math,
2 months ago
Computer Science,
2 months ago
Math,
8 months ago
Math,
8 months ago
Social Sciences,
8 months ago