not able to understand the problem

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:
print square_list


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.


A post was split to a new topic: Problem


A post was merged into an existing topic: Problem


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