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

Which of the following is not a member function of the C++ ostream class?

a. Stream-insertion operator (<<). b. Stream-extraction operator (>>). c. put. d. write.

Computer Science & Information Technology

You can copy data from an Access database into a worksheet by ________ a table, form, or query into an Excel workbook

Fill in the blank(s) with correct word

Computer Science & Information Technology

What is the name of the central Windows database that contains hardware information?

A) UEFI/BIOS B) Registry C) CMOS D) Flash

Computer Science & Information Technology

Analyze the factors that necessitate the establishment of a standard of accreditation or expertise for computer forensics. Also list the issues to be addressed by such standardization

What will be an ideal response?

Computer Science & Information Technology