You have to enumerate your array to change the value at a specific index.
for i, row in enumerate(arr2):
for j, cell in enumerate(row):
if cell == '#':
arr2[i][j] = 'A'
0
solved How do I replace a specific string in a 2d array?