l is passed as an argument to range function whose value is modified inside for loop, but the loop is going for 10 times
l
range
for
10
range(l) is evaluated once, what is being updated is the value of l in the print statement.