If I have the code
i = 0
while i < N:
print("Hello")
i += 1
how many times will Hello be printed out? (assume that N is a defined integer)
Answers:
- 0
- N
- N-1
- N+1
- more than N+1
and why? I never get this so I would appreciate of somebody could explain.