Инициировать матричный питон с нулями
matrix = [[ 0 for i in range(10) ] for j in range(10) ] #initiate matrix with 0
Armandres
matrix = [[ 0 for i in range(10) ] for j in range(10) ] #initiate matrix with 0