List Conversion
arr_rows = [ ["#.."], [".#."], ["..#"] ] arr = [ ["#",".","."], [".","#","."], [".",".","#"] ] arr_new = [] for row in arr_rows: arr_new.append(list(row[0])) #print(row[0], list(row[0])) print(arr_new) for row in arr_new: for cell in row: print(cell, end=" ") print()
Run