How to print a list as list of list in particular order in Python?

后端 未结 0 484
既然无缘
既然无缘 2021-01-31 07:50

Return list given below in list of 3 element lists in pyhton-3.x

input: l = [1,2,3,4,5,6]

I am expecting this output:

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