DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
2d list in python
def list_2D(r, c): l = [] for i in range(r): x = [0] * c l.append(x) return l
Source by nullorempty.org #
PREVIOUS
NEXT
Tagged:
#list
#python
ADD COMMENT
Topic
COMMENT
Name
7+1 =
Submit