write a python program to find the smallest no among n numbers
Answers
Answered by
2
Answer:
This program will find the largest and the smallest from the list of numbers.
lst = []
num = int(input('How many numbers: '))
for n in range(num):
numbers = int(input('Enter number '))
lst.append(numbers)
print("Maximum element in the list is :", max(lst), "\nMinimum element in the list is :", min(lst))
Hope this helped you so plz rate accordingly
Similar questions
Math,
7 months ago