Python Python Collections (2016, retired 2019) Dungeon Game Cartographer

plz help in the def draw_map(player):

def draw_map(player): print("_"*5)
tile = "|{}"

for cell in CELLS:
    x, y = cell
    if x < 4:
        line_end = ""
        if cell == player:
            output = tile.format("X")
        else:
            output = tile.format("_")
    else:
        line_end = "\n"
        if cell == player:
            output = tile.format("X|")
        else:
            output = tile.format("_|")

    print(output, end=line_end)

but the output i get is : file"game.py", line 63 else: ^ Indentation Error:unindent Does not match any outer indentation level