Using the Python interactive shell, use a for control structure to iterate through the elements of the list you instantiated in exercise 3 and display each abbreviated name followed by a period on a line by itself. (Hint: The period is a string.)

What will be an ideal response?


>>> for nam in mon:
... print nam + '.'
...
Jan.
Feb.
Mar.
Apr.
May.
Jun.

Computer Science & Information Technology

You might also like to view...

With a user story, storyboard-sketches, and transition diagram in hand, the program's ____ is done.

A. implementation B. design C. testing D. development

Computer Science & Information Technology

Click the ________ button to advance through changes in a document, one a time

Fill in the blank(s) with correct word

Computer Science & Information Technology

Operating systems use ________ utilities to place computers and devices in low-power states when they are not being used.

A. optimization B. encryption C. acceptable use D. power management

Computer Science & Information Technology

A port may be ____.

A. ?open B. ?closed C. ?stealth D. ?any of the above

Computer Science & Information Technology