Python Programming - Data Types - Discussion
Discussion Forum : Data Types - General Questions (Q.No. 40)
40.
What does the
min()
function in Python do?Answer: Option
Explanation:
The min()
function is used to find the smallest value in a list or tuple.
For example, if you have the following list:
list = [1, 2, 3, 4, 5]
You can use the min()
function to find the smallest element in the list, which would be 1.
The min()
function can be useful for a variety of tasks, such as finding the smallest value in a dataset, or finding the smallest number of items in a stock.
Discussion:
Be the first person to comment on this question !
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers