More with 'for' unit 5, lesson 1, #9

start_list = [5, 3, 1, 2, 4]
square_list =

for number in start_list:
print square_list

My indentation is correct, it changes for some reason
the first two lines underneath the for loop have 4 spaces

Anyways, I have no idea what to do, it says that the loop goes on forever, I don’t know what the lesson even wants me to do.

1 Like

should be

for number in start_list:


Oh, I get it, you need to append the numbers into the square list, thank you! :smile:

1 Like

Thank you @mtf. your clear explanation helped me as well.

1 Like

Thanks @mtf…Your reply helped me too… :smile:

1 Like

Thanks @mtf bro works good

u know i wrote the exact same thing u did and it was always wrong !!
until i copied and pasted!!

thank you! @mtf this is the only solution that works

2 posts were split to a new topic: Why can I put “for number in start_list:” behind "square_list.append

I did the exact same thing.

Thanks for the help.

thank you man!!! i cant do it i do know why

2 posts were split to a new topic: The meaning of square_list = [] here