Loop in PythonLoop in Python

0 Comments

Range method returns values between start and stop, increasing by the value of step (defaults to 1)…   range(start, stop, step) >>> for i in range (0, 10): … print(i) File “<stdin>”, line 2 print(i) ^ IndentationError: expected an indented block Lets fix this with a comma before print statement for