What does this loop that uses a range function do?

for i in range(7, 15)
print("goodbye")

O It prints "goodbye" 8 times, numbered from 7 through 14.
It prints "goodbye" 9 times, numbered from 7 through 15.
O It prints "goodbye" 9 times.
O It prints “goodbye" 8 times.