[Solved] Python redundancy [closed]


Hello will be printed out N times.
assume N is 3.

1st iteration
i = 0
i is less than N

print hello
i = i + 1; // i = 1

2nd iteration
i = 1;
i` is less thanN (3)`

print hello
i = i + 1; // i = 2

3rd iteration
i = 2;
i is less than N (3)

print hello
i = i + 1; // i = 3

4th iteration
i = 3;
i is equal to N (3)
break loop

3

solved Python redundancy [closed]