Saving iterator from python's zip

后端 未结 2 1039
自闭症患者
自闭症患者 2021-01-24 02:34

So, I have a function that I have to call a ton of times. That function iterates through a list by pairs like so:

for a, b in zip(the_list, the_list[1:]):
    #          


        
2条回答
提交回复
热议问题