mapa = [[1,2,3,4],[5,6,7,8],[9,10,11,12],[13,14,15,16]]
dicionario_mapa = {}
contador = 1
for linha in mapa:
for valor in linha:
dicionario_mapa[contador] = valor
contador += 1
print(dicionario_mapa)
bWFwYSA9IFtbMSwyLDMsNF0sWzUsNiw3LDhdLFs5LDEwLDExLDEyXSxbMTMsMTQsMTUsMTZdXQpkaWNpb25hcmlvX21hcGEgPSB7fQpjb250YWRvciA9IDEKCmZvciBsaW5oYSBpbiBtYXBhOgogICAgZm9yIHZhbG9yIGluIGxpbmhhOgogICAgICAgIGRpY2lvbmFyaW9fbWFwYVtjb250YWRvcl0gPSB2YWxvcgogICAgICAgIGNvbnRhZG9yICs9IDEKCnByaW50KGRpY2lvbmFyaW9fbWFwYSkK
{1: 1, 2: 2, 3: 3, 4: 4, 5: 5, 6: 6, 7: 7, 8: 8, 9: 9, 10: 10, 11: 11, 12: 12, 13: 13, 14: 14, 15: 15, 16: 16}