

def render(self):
    a = FSArray(self.height, self.width)
    for (row, col) in self.snake_parts:
        a[(row, a)] = 'x'
    a[(self.apple[0], self.apple[1])] = 'o'
    return a

dataset/ETHPy150Open thomasballinger/curtsies/examples/snake.py Snake.render/VarMisuse@41/46 `col`->`a`