For loops, part 2

The first argument is the starting point and the second argument is beyond the ending point! for i in range(1,4): #1, 2, 3. print(i) Note that the last number is . never. included! Also note that if you subtract the first number from the last, you will get the number of loop iterations. So to get … ................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download