Python Intitialize a 2D Matrix

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