九州体育网 - 十年信誉网站

关于作者

Discuss / Python / 想了一会

想了一会

Topic source

猪蹄子子

#1 Created at ...

list=[1] while True: yield list[:] list.append(0) list.insert(0,0) list=[list[n]+list[n+1] for n in range(len(list)-1)]


  • 1

Reply

WARNING: You are using an old browser that does not support HTML5. Please choose a modern browser (Chrome / Microsoft Edge / Firefox / Sarafi) to get a good experience.