More with "for" syntax error


my code:

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

# Your code here!
for x in start_list
print square_list
print square_list

what is wrong? see attachment

Replace this line with your code.


at the end of your for loop there should be a colon:

for x in y:

the colon (:) is missing in your case


thanks! thanks a lot !:slight_smile: