Friday, April 15, 2011

Python Challenge level 2

FILE_PATH = 'l2-text'

f = open(FILE_PATH)
print ''.join([ t for t in f.read() if t.isalpha()])

f.close()

0 comments:

Post a Comment