python -dict
摘要:
#字典的添加、删除、修改操作 #字典的遍历 #字典items()的使用 dict = {"a" : "apple", "b" : "banana", "c" : "grape", "d" : "orange"}每个元素是一个key和value组成的元组,以列表的方式输出print dict.item 阅读全文
posted @ 2017-08-10 18:16 _羌梓花 阅读(192) 评论(0) 推荐(0) 编辑
posted @ 2017-08-10 18:16 _羌梓花 阅读(192) 评论(0) 推荐(0) 编辑
posted @ 2017-08-10 18:06 _羌梓花 阅读(230) 评论(0) 推荐(0) 编辑
posted @ 2017-08-10 17:37 _羌梓花 阅读(339) 评论(0) 推荐(0) 编辑
posted @ 2017-08-10 17:29 _羌梓花 阅读(203) 评论(0) 推荐(0) 编辑
posted @ 2017-08-10 14:20 _羌梓花 阅读(224) 评论(0) 推荐(0) 编辑