Got an exam in python in two days, pretty basic stuff. This is the code given in an exercise
spam = 0
while spam < 5:
print('Hello, world.')
spam = spam + 1
I would have expected it to run until it hits 5 (so with the +1 given in the last line 2 times) But the answer is "Unlimited times".
Anyone knows why? :) Is ir because there is no elif condition in this example?