24
QuizMultiple Choice

Use Data Structures — Cumulative exam

Question 24 • Introduction to Information Technology - EL3701

What does the program print out as a result of the given snippet of code?supplies = ["pencil", "notebook", "backpack", "calculator", "pen"]print(len(supplies))

Answer
A
5
B
8
C
[‘backpack’, ‘calculator’, ‘notebook’, ‘pen’, ‘pencil’]
D
[‘pencil’, ‘notebook’, ‘backpack’, ‘calculator’, ‘pen’]
Previous
Next