摘要: __author__ = "KuanKuan" info = {'teacher1': '苍井空', 'teacher2': '京香', 'teacher3': '波多野结衣', 'teacher4': '小泽玛利亚', 'teacher5': '上原瑞惠', 'teacher6': '樱井莉亚', 'teacher7': ... 阅读全文
posted @ 2018-02-21 20:53 Kils 阅读(366) 评论(0) 推荐(0) 编辑
摘要: 字典特性: dict无序 key唯一,天生去重 创建字典: way1:小心列表坑 way2: 字典无序输出 查询 修改 增加 删除 遍历 清空 阅读全文
posted @ 2018-02-21 19:48 Kils 阅读(444) 评论(0) 推荐(0) 编辑
摘要: 增 append() insert(index,obj) #可以向指定位置添加 1 __author__ = "KuanKuan" 2 list = [] 3 list.append("JankinYu") 4 list.insert(0,"kali") 5 print(list)#输出结果#['k 阅读全文
posted @ 2018-02-21 11:11 Kils 阅读(137) 评论(0) 推荐(0) 编辑