for i in range(αριθμός): .....

Τι θα εμφανίσει;

for i in range(4):

     print i -1

 

0, 1, 2, 3

1, 2, 3, 4

-1 , 0 , 1 , 2