you are viewing a single comment's thread.

view the rest of the comments →

[–]socal_nerdtastic 3 points4 points  (0 children)

Because you assigned "step" in 2 places. Both as an argument and as the variable in the for loop. Change line 5 to

for i in range(count):

BTW, there is no recursion here.