battlestar_caprica
Member
How would I go about changing a for loop so that it counts backwards and not upwards
eg: "for i in 1..10"
to
"for i in 10..1"
That way I can start at the highest numbers and work my way down.
Thanks for any help.
eg: "for i in 1..10"
to
"for i in 10..1"
That way I can start at the highest numbers and work my way down.
Thanks for any help.