Question 3 • Introduction to Information Technology - EL3701
In Python, range(7, 15) produces the values 7 through 14; the stop value, 15, is not included. That is 8 values, and the loop prints “goodbye” once for each value. Since the print statement does not include i, the messages are not numbered.
AI-written and checked against the verified answer.