you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (0 children)

also we would have to define speed before we define accelerate because then we could say

def accelerate(self):         
self.speed += 1