L = [1] yield L while True: L=[1]+[L[x]+L[x+1] for x in range(n-1)]+[1] yield L
你好,我按照这个运行总是显示‘list' object is not callable,请问可能是什么问题?
Sign in to make a reply
为什么猫不吃鱼