0

I do this:

q = Queue()
runs = []

for i in range(0, q.qsize()):
   runs.append(q.get())

So the i variable is unused.

How do I write this correctly?

cs95
  • 330,695
  • 80
  • 606
  • 657
Stéphane
  • 387
  • 2
  • 5
  • 20

0 Answers0