摘要: 结果: **********文件操作***********['soyo8,35\n', '\xe5\xb0\x8f\xe5\x91\xa8,30\n', '\xe5\xb0\x8f\xe5\x8d\x8e,19\n', 'soyo,88\n']soyo8,35小周,30小华,19soyo,88['s 阅读全文
posted @ 2018-01-02 19:57 soyosuyang 阅读(190) 评论(0) 推荐(0)
摘要: 结果: ***********集合操作************set([8, 9, 10])set([8, 65, 78, 9])集合的差-->属于set2而不属于set3set([10])集合的并set([65, 8, 9, 10, 78])集合的交set([8, 9])集合的异或-->(并集-交 阅读全文
posted @ 2018-01-02 17:42 soyosuyang 阅读(129) 评论(0) 推荐(0)
摘要: 结果: ************字典的遍历*************['hadoops', 'soyo1', 'kafka']['hadoops', 'soyo1', 'kafka']['kafka', 'soyo1', 'hadoops']['hadoops', 'kafka', 'soyo1'] 阅读全文
posted @ 2018-01-02 17:02 soyosuyang 阅读(165) 评论(0) 推荐(0)