# example: write a program, using a while loop, # that prints the numbers 1, 2, 3, ..., 10 index = 1 while index <= 10: print(index) index += 1 # Write a program, using a while loop, that prints # the numbers 10, 8, 6, 4, 2 number = 10 while number > 0: print(number) number -= 2