Advanced topics in python

For this code I was learning how to do advanced topics in python. For two questions I had to run the code to see what the answer would be. They asked be to run the code to see what will be the final answer. For one of the questions it asked me to find out what will the code be printed in the console. When I ran the code the answer it gave me was  (0, 3, 6, 9, 12, 15).