Code Correct but not working


#1


https://www.codecademy.com/courses/python-beginner-en-pwmb1/1/6?curriculum_id=4f89dab3d788890003000096#

Your code caused the following error: object of type 'int' has no len()

I expected it will print output whitout error which it did but this error is popping up


Replace this line with your code. Do not remove the backticks that are above or below this line.
startlist = [5, 3, 1, 2, 4]
squarelist = []

for number in startlist:
    squarelist.append(number**2)

squarelist.sort()
print squarelist


#2

HI startlist and squarelist you should be start_list and square_list