 <p>In your <code>__init__</code> method and in some other places you refer to <code>self.__speed</code>. However, in your <code>accelerate</code> and <code>brake</code> methods you refer to <code>self.speed</code>, which is not the same thing. Make all the references the same and your problem should be resolved.</p>