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
English,
2 months ago
Hindi,
2 months ago
Math,
4 months ago
Computer Science,
4 months ago
Math,
10 months ago
Math,
10 months ago
Social Sciences,
10 months ago