I am wondering, if we use
for n in range(500/2):
does it mean, that for each iteration, it each time solves 500/2 = 250? Or it just solves it once, and then uses it?
Or
x = 100
for n in range(x):
does it mean, that for each iteration, it each time refers to x Or it just takes its value once, and uses later on?