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

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

for i in range(4):

     print i -1

 

-1 , 0 , 1 , 2

0, 1, 2, 3

1, 2, 3, 4