Herro, i need hellep on 8/14 lists and dictionarys pleeeaaase


#1

plz helep
i have tried this:
"""
Vamos a crear una lista que almace los elementos de otra lista,
elevados al cuadrado y por ultimo que los imprima ordenados
"""
start_list = [5, 3, 1, 2, 4]
square_list = []

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

but it wont work


#2

This is code for exercise 9/14, right?


Your code is correct, but according to instructions you have to sort your list:

Then sort square_list!

Use sort method :smile: