

class Turtle(object):
    def __init__(self):
        super().__init__()
        self.image = 'sprites/turtle.png'

        self.pos_x = 0
        self.pos_y = 0

        self.x_vel = 0
        self.y_vel = 0




class Turtle(object):
    def __init__(self):
        super().__init__()
        self.image = 'sprites/turtle.png'

        self.pos_x = 0
        self.pos_y = 0

        self.x_vel = 0
        self.y_vel = 0

    def position(self):
        return [self.pos_x, self.pos_y]

Add position function