python code: 1.Create an empty class called Car. 2.Create a method called initialize in the class, which takes a name as input and saves it as a data attribute. 3.Create an instance of the class, and...


python code:


1.Create an empty class called Car.


2.Create a method called initialize in the class, which takes a name as input and saves it as a data attribute.


3.Create an instance of the class, and save it in a variable called car.


4.Call the initialize method with the string “Ford".



Jun 05, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here