Python 1D List (Fixed Size)

Descripción

Create a 1D list with fixed size initialized with None


File Template: ❌


Prefix

list:fixed


Scopes

python


Snippet de código

${1:ls} = [None] * ${2:size}  # 1D list with fixed size filled with None