摘要: 1 class Solution: 2 # @param s, a string 3 # @return a string 4 def reverseWords(self, s): 5 ss = s.split(" ") 6 ss = fil... 阅读全文
posted @ 2014-10-15 23:30 ZH奶酪 阅读(552) 评论(0) 推荐(0) 编辑
摘要: 19.7. xml.etree.ElementTree — The ElementTree XML API源代码: Lib/xml/etree/ElementTree.pyElement类型是一种灵活的容器对象,用于在内存中存储层次数据结构。可以说是list和dictionary的交叉。注意:xml... 阅读全文
posted @ 2014-10-15 16:30 ZH奶酪 阅读(55146) 评论(0) 推荐(0) 编辑