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

Monday, December 3, 2012

Codecademy: Writing


#sample solution


my_list = [i**2 for i in range(1,11)]

my_file = open("output.txt", "r+")

# Add your code below!

for element in my_list:
my_file.write(str(element)+"\n")

my_file.close()

No comments:

Post a Comment


This is an example of scrolling text using Javascript.

Popular Posts