What is .join() is doing in this list comprehension?

后端 未结 0 1083
一生所求
一生所求 2021-02-04 04:18

The code is as follows:

board = [\' \', \' \', \' \', \' \', \' \', \' \', \' \', \' \', \' \' ]
for row in [board[i*3:(i+1) * 3] for i in range(3)]:
     print(\         


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