Unlike normal cars, the Batmobile can spin around in a circle. Jonas wants to add this functionality to his Batmobile class. The Car class has a method do_action()
which takes in a key
argument and does the following actions:
- W: Switches on Lights
- H: Blows Horn
Jonas has overwritten the do_action()
method to support the following actions.
Help him maintain support for spinning the Batmobile around while also maintaining the present functionality from the parent Car
class.