【小白学编程Python方向】项目练习第1期(参考答案)
参考答案:
def ***s(): t = [] while True: for i in range(len(t) - 1): t[i] = t[i] + t[i+1] t.insert(0, 1) yield t[:]
Tips:
小白学编程-Python方向:【牛客带你学编程】【Python方向】0基础小白入门培养计划
def ***s(): t = [] while True: for i in range(len(t) - 1): t[i] = t[i] + t[i+1] t.insert(0, 1) yield t[:]
相关推荐