YOU SAID:
class Ball: def bounce(self): if self.direction == "down": self.direction = "up"
INTO JAPANESE
クラス Ball: def bounce(self): self.direction == "down": self.direction = "up" の場合
BACK INTO ENGLISH
class Ball: def bounce(self): if self.direction == "down": self.direction = "up"
INTO JAPANESE
クラス Ball: def bounce(self): self.direction == "down": self.direction = "up" の場合
BACK INTO ENGLISH
class Ball: def bounce(self): if self.direction == "down": self.direction = "up"
That didn't even make that much sense in English.