More with 'for'


#1

Can't complete the exercise, please help!


#2

Hi, @fjordt98 ,

Lots of us want to help, but please post your code, as it is thus far, so we can be specific about what you need to do.


#3

This works.

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

for number in start_list:
square_list.append(number ** 2)
square_list.sort()

print square_list