Using the Python interactive shell, put the elements of the list you instantiated in exercise 3 in alphabetical order.

What will be an ideal response?

>>> mon.sort()
>>> mon
['Apr', 'Feb', 'Jan', 'Jun', 'Mar', 'May']

or

>>> sorted(mon)
['Apr', 'Feb', 'Jan', 'Jun', 'Mar', 'May']

Computer Science & Information Technology

You might also like to view...

Following Excel's order of operations, what is the result of the formula =10-4/2*(5-2)?

A) 9 B) 13 C) 8.5 D) 4

Computer Science & Information Technology

This TCP protocol is at port 22.

What will be an ideal response?

Computer Science & Information Technology