Recipe 1.1. Processing a String One Character at a Time(Python Cookbook)
摘要:
setCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--1importsets2magic_chars=sets.set('abracadabra')3magic_chars=sets.Set('abracadabra')4poppins_chars=sets.Set('supercalifragilisticexpialidocious')5print''.join(magic_chars&poppins_chars) 阅读全文
posted @ 2010-12-15 21:52 Ray Z 阅读(162) 评论(0) 推荐(0) 编辑