What is the reason for the list comprehension of list as input of the any function?

后端 未结 0 495
你的背包
你的背包 2021-02-19 06:32

I was reading codes from an opensource program.

And I encounter this code:

drets = []

...... omitted code to insert some values into drets

d0ret = any((d         


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