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

What are multi-party systems?
what is the sum of 1/8
________________________ is symmetry around a point, as in a sea star. Bilateral Symmetry Radial Symmetry Asymmetry
what is cyber stalking and how does it work?
Potatoes are an example of _____.
Simplify the following 48/72
The following lists are nations with mixed economies. In which list is the free market most dominant? a. France, Canada, South Africa, United Kingdom b. Cuba,
can you plz tell me how to work it out plz I need it but today
If the current in the circuit above is 10 amps and the resistance is 3 ohms what is the voltage
What is speed x time=???