摘要: a = 0b = 1arr = [a, b]for i in range(10): c = a + b arr.append(c) a, b = b, cprint(list(arr)) 阅读全文
posted @ 2020-09-02 17:26 LastOneBlackHole 阅读(65) 评论(0) 推荐(0) 编辑
摘要: for i in range(1,10): for j in range(1, i+1): if i == j: print(j, "x", i, "=", i * j) else: print(j, "x", i, "=", i * j, end=" ") 阅读全文
posted @ 2020-09-02 17:04 LastOneBlackHole 阅读(90) 评论(0) 推荐(0) 编辑