write a program to enter 10 number number and print the greatest and smallest number among them
Answers
Answered by
0
arr = [int(i) for i in input().split ()]
arr.sort()
Greatest_Number = arr[9]
Smallest_Number = arr[0]
print(f"Greatest Number is {Greatest_Number} and Smallest Number is {Smallest_Number}")
Similar questions