6
QuizMultiple Choice

Use Data Structures — Cumulative exam

Question 6 of 25 • Introduction to Information Technology - EL3701

Which printout will result from the snippet of code?supplies = ["pencil", "notebook", "backpack", "pen", "calculator"]print("These are the supplies in the list:\n", supplies)

Answer
A
[‘pencil’, ‘notebook’, ‘backpack’, ‘pen’, ‘calculator’]
B
These are the supplies in the list: [‘pencil’, ‘notebook’, ‘backpack’, ‘pen’, ‘calculator’]
C
These are the supplies in the list: [‘pencil’, ‘notebook’, ‘backpack’, ‘pen’, ‘calculator’]
D
These are the supplies in the list:\n [‘pencil’, ‘notebook’, ‘backpack’, ‘pen’, ‘calculator’]
Previous
Next