Learning to Program in Python for Kids

of all ages and Linux on a Raspberry Pi by Philip M Russell

for count in range 10, 0, -1)

range (start, end, increment)

range is set to 10 to start then going to 0 up in steps of -1

Up in steps of -1 is the same as down in steps of 1. The computer thinks of the step as an increment ie adding, so we have to say -1