Question about the difference of python list comprehension

前端 未结 0 665
谎友^
谎友^ 2020-12-02 10:35

I want to know the difference between list comprehensions.

I defined the two lists like this.

list1 = [[0] * 3]          


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