You are on page 1of 1

2017-04-23 13:23:52 -0700 bozz 2017-04-23 13:23:52 -0700 bozz 2017-04-23 13:23:52 -0700 bozz

2017-04-23 13:23:52 -0700 bozz 2017-04-23 13:23:52 -0700 bozz 2017-04-23 13:23:52 -0700 bozz
2017-04-23 13:23:52 -0700 bozz 2017-04-23 13:23:52 -0700 bozz 2017-04-23 13:23:52 -0700 bozz
2017-04-23 13:23:52 -0700 bozz 2017-04-23 13:23:52 -0700 bozz 2017-04-23 13:23:52 -0700 bozz
2017-04-23 13:23:52 -0700 bozz 2017-04-23 13:23:52 -0700 bozz 2017-04-23 13:23:52 -0700 bozz
2017-04-23 13:23:52 -0700 bozz 2017-04-23 13:23:52 -0700 bozz 2017-04-23 13:23:52 -0700 bozz
2017-04-23 13:23:52 -0700 bozz 2017-04-23 13:23:52 -0700 bozz 2017-04-23 13:23:52 -0700 bozz
2017-04-23 13:23:52 -0700 bozz 2017-04-23 13:23:52 -0700 bozz 2017-04-23 13:23:52 -0700 bozz
2017-04-23 13:23:52 -0700 bozz 2017-04-23 13:23:52 -0700 bozz 2017-04-23 13:23:52 -0700 bozz
2017-04-23 13:23:52 -0700 bozz 2017-04-23 13:23:52 -0700 bozz 2017-04-23 13:23:52 -0700 bozz
2017-04-23 13:23:52 -0700 bozz 2017-04-23 13:23:52 -0700 bozz 2017-04-23 13:23:52 -0700 bozz
2017-04-23 13:23:52 -0700 bozz Running the above code should print out 100 lines, with the
current_iteration_number variable increasing by 1 each time.

FOOFOO Admittedly, this isn't an exciting program. But replace that puts command with any other
command(s), and you'll get to the core of why learning to code is so useful: repetitive tasks can be
done a thousand times over with just a few lines of code.

Let's examine the above for loop code.34

You might also like