Im just confused on Line 11 how to code it into python:
The Line is( FOR N <-- 1 TO Factor
With a while loop:
while loop
n = 1 while n <= (Factor+1): # block of code n = n + 1
or as @Thierry Lathuille said, with for-loop:
for-loop
for n in range(1, Factor + 1): # block of code
1.4m articles
1.4m replys
5 comments
57.0k users