摘要: 题目链接:http://www.runoob.com/python/python-100-examples.html 阅读全文
posted @ 2018-08-05 20:26 Iving 阅读(2219) 评论(0) 推荐(1) 编辑
摘要: def f(): for i in range(3120,4000): flag = 1 k=i for j in range(5): if i%5==1: i=(i//5)*4 else: flag=-1 ... 阅读全文
posted @ 2018-08-05 20:10 Iving 阅读(975) 评论(0) 推荐(0) 编辑
摘要: b=[] for i in range(0,9): c=[] for j in range(0,i): if j==0: c.append(b[i-1][j]) if j<=i-2:#执行完第一个if,接着执行第二个if c.append(b[i-1][j]+b[i-1][j+1]) c.a... 阅读全文
posted @ 2018-08-05 20:03 Iving 阅读(237) 评论(0) 推荐(0) 编辑