94.4k views
4 votes
Which program will have the output shown below?

15
16
17
>>> for count in range(17):
print(count)
>>> for count in range(15, 17):
print(count)
>>> for count in range(15, 18):
print(count)
>>> for count in range(18):
print(count)

User JBland
by
6.2k points

1 Answer

5 votes

Answer:

>>> for count in range(15, 18):

print(count)

is the correct answer

Step-by-step explanation:

User Superkinhluan
by
5.2k points