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
1. number = [3, 2, 8, 5, 10, 6]
smallest_number = min(number);
print(“The smallest number is:”, smallest_number)
2. Output:
The smallest number is: 2
Leave A Comment?