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".
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here