When max() function is used on lists of words, what does max() find? For example:
aList = ["bacon", "cheese", "nuggets", "donuts", "yogurt"]
print (max (aList))
Answers
Answer 1
Answer:
The function max() would return the last item of the list in alphabetical order, so in this case, print(max(aList)) would return 'yoghurt'.