What is the exact number of loop iterations here and how do you find out?
def func(n):
i = 4
while i < n:
print(i)
i = i + 1
The solution says max(n-4,0) which is theta(n), but I am confused about how they reached this. I see it starts from 4 and can guess that this relates to the n-4, but would like to be sure.