How can I save a list in a while loop?

后端 未结 0 610
死守一世寂寞
死守一世寂寞 2020-11-30 23:45

I want to make my while loop accumulate items in a list and I can\'t figure out how to do it.

this is what I have:

counter = 0
while counter != -1:
            


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题