Python Intitialise une matrice 2D

# initialize a matrix of rowxcol with -1
dp = [[-1]*col for _ in range(row)]
Wojak's distant cousin