Checking if iterable is empty before while loop

后端 未结 0 1283
情书的邮戳
情书的邮戳 2020-11-28 07:13

Recently I have had to make dynamically changing lists I iterate through in the main loop. But they are empty initially, and may be empty sometimes. Here are two cases:

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