Repetition Exercise 12.5

What print message do you receive when you run the code below?

How can I change the following code so it prints the numbers 1-6?