Cara mengkode fungsi lompatan di Python

        self.frame = 0
        self.health = 10
        # jump code below
        self.is_jumping = True
        self.is_falling = False
Gentle Grouse