3.1. Add an __init__() function to the Car class that takes the brand and model arguments and assigns them to the appropriate object attributes.
3.2. You already have an object my_car that was created without passing additional arguments. So, in order not to cause errors when creating an object in this way, let's add a default value for the arguments of the __init__() function They mast have values of empty string "".
3.3. Create two new Car objects by passing the following string values as arguments. some_car1: brand - Ford, model - Mustang; some_car2: model - Camaro. Notice, that the second car has only model, it's brand must remains default.
CheckiO Extensions allow you to use local files to solve missions. More info in a blog post.
In order to install CheckiO client you'll need installed Python (version at least 3.8)
Install CheckiO Client first:
pip3 install checkio_client
Configure your tool
checkio --domain=py config --key=
Sync solutions into your local folder
(in beta testing) Launch local server so your browser can use it and sync solution between local file end extension on the fly. (doesn't work for safari)
checkio serv -d
Alternatevly, you can install Chrome extension or FF addon
checkio install-plugin --ff
checkio install-plugin --chromium