Problem


#1

not able to understand the problem


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


in this we have to ask to use append() but this function is used to add items to the list


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

# Your code here!

for square_list in start_list:
    square_list.append(x**2)
print square_list


#2

point1.
Check your iteration variable in for loop,!

point2. (after you fix point1)
When you print the list ,We need to sort it using sort() method on list.


#3

A post was split to a new topic: Problem


#4

A post was merged into an existing topic: Problem


#6

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