Descripción
Create a 2D jagged list with rows of variable length
File Template: ❌
Prefix
list2:jagged
Scopes
python
Snippet de código
${1:matrix} = [[] for _ in range(${2:rows})] # 2D jagged list with variable row lengths
Create a 2D jagged list with rows of variable length
list2:jagged
python
${1:matrix} = [[] for _ in range(${2:rows})] # 2D jagged list with variable row lengths