richardcruzzz39
richardcruzzz39 richardcruzzz39
  • 10-12-2020
  • Computers and Technology
contestada

When max() function is used on lists of words, what does max() find? For example:
aList = ["bacon", "cheese", "nuggets", "donuts", "yogurt"]
print (max (aList))

Respuesta :

goodLizard
goodLizard goodLizard
  • 10-12-2020

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'.

Hope this helps :)

Answer Link

Otras preguntas

Name a political leader currently in charge of his or her country from a nation other than Canada. Also named the nation they are in charge of..
What is the blank of a people includes it's customs beliefs and ways of making a living
How many solutions does this equation have? -10.49 + h = -1.06 + h no solution one solution infinitely many
(4+2r)3 solve equation please
Narcissus could be described as ___. Vain, strong,enchanting, or creative
what is 0.15454545454 as a fraction
2x + 4 = - ( -7x + 6 )
is 700.005 greater than 703.05
the weight of can elephant is 10 to the 3 times the weight of a cat. if the elephant weights14000 pounds how many pounds does the cartwright. how did you find y
which of the following verbs mean "to be"? hacer ser hablar correr estar