Which Python function returns the smallest item?
-
A
minimum()
-
B
min()
Correct answer
-
C
smallest()
-
D
least()
13 views
Explanation
The min() function returns the smallest item in an iterable or the smallest of two or more arguments.
Doubts & discussion
Not sure why the answer is B? Ask here and get an explanation.
Ask a doubt about this MCQ