Quotes help make search much faster. Example: "Practice Makes Perfect"

Wednesday, November 28, 2012

Codecademy: More With 'for'


#sample solution


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

# Your code here
for number in start_list:
square_list.append(number**2)
square_list.sort()
print square_list

1 comment:


This is an example of scrolling text using Javascript.

Popular Posts