data='''
find at source code...
'''
def main():
alphabet = "abcdefghijklmnopqrstuvwxyz"
result = filter(lambda x : x in alphabet, data)
print result
if __name__ == "__main__":
main()
find at source code...
'''
def main():
alphabet = "abcdefghijklmnopqrstuvwxyz"
result = filter(lambda x : x in alphabet, data)
print result
if __name__ == "__main__":
main()
'Coding > Python 삽질기' 카테고리의 다른 글
http://www.pythonchallenge.com...Level3 (0) | 2010.12.12 |
---|---|
[Python] 파일 zip으로 압축하기 (0) | 2010.10.25 |
1000! (0) | 2010.07.14 |