-
-
Save codecademydev/b2a39e7b76823175d428913a9aa021b7 to your computer and use it in GitHub Desktop.
Codecademy export
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
start_list = [5, 3, 1, 2, 4] | |
square_list = [] | |
# Your code here! | |
for numbers in start_list: | |
square_list = square_list.append(numbers ** 2) | |
square_list.sort() | |
print square_list |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment