More with 'for'


#1

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

Your code here!

print square_list

I don't understand what to do here.
please help


#2

have you read the instructions?

1.) Write a for-loop that iterates over start_list and .append()s each number squared (x ** 2) to square_list.
2.) Then sort square_list!


#3

thank you for simplifying


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.