Situatie
The min() function returns the smallest item in an iterable. It can also be used to find the smallest item between two or more parameters.
Solutie
Pasi de urmat
number = [3, 2, 8, 5, 10, 6]
smallest_number = min(number);
print(“The smallest number is:”, smallest_number)
Output:
The smallest number is: 2
Leave A Comment?