摘要:
a = 0b = 1arr = [a, b]for i in range(10): c = a + b arr.append(c) a, b = b, cprint(list(arr)) 阅读全文
摘要:
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=" ") 阅读全文