This, and the rest of the functions here, don't adhere exactly to the test file in code/session08/test_generator.py. That's OK, however, since we're here at the end of the course and you obviously get how generators work. The main thing to keep in mind is that you could use a while True: loop, so that there will always be a next value.