Greetings, and apologizes in advance if this is an obvious question
I was stuck on this lesson and ended up just giving up and looking at the solution. When I saw the answer, I was still confused so I figured I would ask. I did not see anywhere in the for loop where number is either initiated or iterated. What I mean by that is that I didn’t see something like
number = 0
for number in start_list:
square_list.append(number ** 2)
So my question is, how does Python know how to go through the loop without being initiated or iterated? Is it just that number isn’t a variable name but a type? Also, sorry if my terminology is off, it’s been over a decade since I took a computer science class
Thanks in advance!