Drive

Report a typo

What are the correct ways to call the drive method of the class Car on the my_car object?

class Car:
    def __init__(self, model):
        self.model = model

    def drive(self):
        print("vroom vroom")

my_car = Car("Volkswagen")

Choose all that apply.

Select one or more options from the list
___

Create a free account to access the full topic