162k views
21 votes
What does the program print out as a result of the given snippet of code?

supplies = ["pencil", "notebook", "backpack", "calculator", "pen"]
print(len(supplies))
5
8
[‘backpack’, ‘calculator’, ‘notebook’, ‘pen’, ‘pencil’]
[‘pencil’, ‘notebook’, ‘backpack’, ‘calculator’, ‘pen’]

User NrNazifi
by
4.4k points

2 Answers

7 votes

Answer:

a

Step-by-step explanation:

edge

User Mborsuk
by
4.5k points
6 votes

Answer:

5

Step-by-step explanation:

well the function len gives the length of the list

so the length of supplies is

5

User Randel Ramirez
by
4.2k points