diff --git "a/Day01-15/Day10/\345\233\276\345\275\242\347\224\250\346\210\267\347\225\214\351\235\242\345\222\214\346\270\270\346\210\217\345\274\200\345\217\221.md" "b/Day01-15/Day10/\345\233\276\345\275\242\347\224\250\346\210\267\347\225\214\351\235\242\345\222\214\346\270\270\346\210\217\345\274\200\345\217\221.md" index 3c7adc40e199801f209de58c3b1adb84c9a92223..6dfada7e74efbf6b5c3e44e9d5cd451605efe30e 100644 --- "a/Day01-15/Day10/\345\233\276\345\275\242\347\224\250\346\210\267\347\225\214\351\235\242\345\222\214\346\270\270\346\210\217\345\274\200\345\217\221.md" +++ "b/Day01-15/Day10/\345\233\276\345\275\242\347\224\250\346\210\267\347\225\214\351\235\242\345\222\214\346\270\270\346\210\217\345\274\200\345\217\221.md" @@ -264,7 +264,7 @@ class Ball(object): if distance < self.radius + other.radius \ and self.radius > other.radius: other.alive = False - a self.radius = self.radius + int(other.radius * 0.146) + self.radius = self.radius + int(other.radius * 0.146) def draw(self, screen): """在窗口上绘制球"""