摘要: __author__ = 'zht' #!/usr/bin/env python # -*- coding: utf-8 -*- ''' #努力学习每一天 ''' import operator #方法1 a = [1,2,3,4,5,6,7,11,10,9,] i = 1 b = a[0] while i = k: pass else: ... 阅读全文
posted @ 2018-07-22 22:38 赵宏涛 阅读(2132) 评论(0) 推荐(0) 编辑
摘要: __author__ = 'zht' #!/usr/bin/env python # -*- coding: utf-8 -*- ''' #努力学习每一天 ''' import random offices = [[],[],[]] names = ['A','B','C','D','E','F','G','H'] i = 1 for name in names: index... 阅读全文
posted @ 2018-07-22 19:34 赵宏涛 阅读(182) 评论(0) 推荐(0) 编辑