Multiple Choice
What is the last line of output of the following code?
Pres = {1:"Washington", 16:"Lincoln", 35: "Kennedy", 40:"Reagan"}
For nth in pres:
Print("%2d:" % nth,pres[ nth ])
A) 35: Kennedy
B) 40: Reagan
C) 03: Kennedy
D) 04: Reagan
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q28: Which of the following statements creates a
Q29: What is the output of the following
Q30: If you print the string "Hello, it
Q31: Which statement allows a programmer to run
Q32: The while statement uses the syntax while
Q34: Python programs require two or more modules.
Q35: What can you use a docstring for?<br>A)
Q36: What is the last line of the
Q37: You can use the # symbol to
Q38: How do you describe a function that