Python Programming - Tuples - Discussion

Discussion Forum : Tuples - General Questions (Q.No. 28)
28.
What is the output of the expression min(('apple', 'orange', 'banana'))?
'apple'
'banana'
'orange'
Raises a TypeError
Answer: Option
Explanation:
The min() function returns the smallest element in the tuple based on lexicographic order.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.