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

The ____ command moves the selected object or objects forward one level in the document.

A. Move Forward B. Bring Forward C. Bring to Front D. none of the above

Computer Science & Information Technology

What does WPA include that is designed to prevent an attacker from conducting man-in-the-middle attacks?

A. cyclic redundancy check B. preshared key C. message integrity check D. a temporal key

Computer Science & Information Technology

HTML includes several style attributes that you can use to modify the appearance of horizontal rules.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

The ____ is the standard terminal symbol for a flowchart.

A. circle B. lozenge C. diamond D. square

Computer Science & Information Technology