Using the Python interactive shell, instantiate a list that holds three-letter abbreviations for the first six months of the year and display the list.
What will be an ideal response?
>>> mon = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun']
>>> print mon
['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun']
You might also like to view...
The __________ of a linked list points to the first node in the list.
a. starter b. head c. tail d. declaration e. None of these
Which of the following statements regarding abstract methods is false?
a. An abstract class can have instances created using the constructor of the abstract class. b. An abstract class can be extended. c. A subclass of a non-abstract superclass can be abstract. d. A subclass can override a concrete method in a superclass to declare it abstract. e. An abstract class can be used as a data type.
The process of generating and passing an exception at the point the error was detected is referred to as ____.
A. error handling B. throwing an exception C. exception handling D. catching an exception
A switching loop is also known as a bridging loop.
Answer the following statement true (T) or false (F)