Question: Question: Write a class named Person with data attributes for a persons first name, last name, and telephone number. Next, write a class named Customer
Question: Write a class named Person with data attributes for a persons first name, last name, and telephone number. Next, write a class named Customer that is a subclass of the Person class. The Customer class should have a data attribute for a customer number and a Boolean data attribute indicating whether the customer wishes to be on a calling list. Demonstrate an instance of the Customer class in a simple program.
Below is a screenshot of the code i have:

When i try to run it, i am getting the below error:

I am not sure why it is not working and what is causing this error. If you could explain what is wrong, and how to fix it along with your answer that would be great!
AttributeError: 'Customer' object has no attribute '_Customer_name'. Did you mean: '_Customer_mail
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
