如何从指定的数字返回三角形列表?
例:
>>> myList = triangle(3) [0,0,0] [1,1] [2] >>> myList [[0,0,0], [1,1], [2]]
python arrays list
arrays ×1
list ×1
python ×1