Write a program to ask the user to enter any 10 numbers and print the largest and the smallest number among them.
Answers
Answered by
0
Answer:
list=[]
for i in range(10):
number=int(input("Enter Number"))
list.append(number)
print("Number you entered",list)
print(f"Maximum Number: {max(list)}")
print(f"Minimum Number: {min(list)}")
Similar questions