Python Convert multi for loop if/else into lsit comprehension

后端 未结 0 561
别跟我提以往
别跟我提以往 2020-12-15 06:15

I\'m trying to convert this into a list comprehension.

Current Code

some_list = [[{"apple":"red"}, {"orange&q         


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