I wonder if this was because they were using the input to influence the `while`

loop directly, like so:

```
# refactor
age = int(input("Enter age to find out the cost of the movie ticket, or '0' to exit: "))
while age > 0:
if age < 3:
print("Your ticket is free.")
elif age < 12:
print("Your ticket is $10.")
else:
print("Your ticket in $15.")
age = int(input("Enter age to find out the cost of the movie ticket, or '0' to exit: "))
else:
print("Thanks for using our price checker!")
```

This generates the following:

```
Enter age to find out the cost of the movie ticket, or '0' to exit: 2
Your ticket is free.
Enter age to find out the cost of the movie ticket, or '0' to exit: 5
Your ticket is $10.
Enter age to find out the cost of the movie ticket, or '0' to exit: 17
Your ticket in $15.
Enter age to find out the cost of the movie ticket, or '0' to exit: 42
Your ticket in $15.
Enter age to find out the cost of the movie ticket, or '0' to exit: 99
Your ticket in $15.
Enter age to find out the cost of the movie ticket, or '0' to exit: 123456789
Your ticket in $15.
Enter age to find out the cost of the movie ticket, or '0' to exit: 0
Thanks for using our price checker!
```