Can I use “or” in a condition inside a list comprehension?

后端 未结 0 1133
囚心锁ツ
囚心锁ツ 2020-12-07 20:22

Is there a way to put an "or" inside a condition that it\'s in a list comprehension? I would like to "compress" this block of code:

# In t         


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