for loop differences in vb and python

Where is the difference between this and this code? The function should be the same. But the difference is inside the loop region. In the VB code the loop is written as

For I = 1 To 15

but in python -

for i in range(0, 15):

Nav komentāru:

Ierakstīt komentāru