subject

Write a class named person with data attributes for a person's name, address, and telephone number. next write a class named customer that is a subclass of the person the customer class should have a data attribute for a customer number and a boolean attribute indicating whether the customer wishes to be on a mailing list. write a complete main program to prompt the user for all of the needed data, create a customer object, and print out the customer data using the __str__ method. remember that class attributes should be defined as private.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 16:30
What type of file does a cookie place on web site visitors' computers so that web site managers can customize their sites to their visitors' preferences?
Answers: 1
question
Computers and Technology, 22.06.2019 19:30
When using a public computer or network, you should always
Answers: 2
question
Computers and Technology, 23.06.2019 10:00
Whats three fourths of 15(this is supposed to be in math but i clicked too fast)
Answers: 1
question
Computers and Technology, 23.06.2019 14:30
Select the correct answer. what does it indicate when a website displays https instead of http? a. the website is secure. b. there is no secure sockets layer. c. the secure sockets layer is hidden. d. the website is not secure.
Answers: 1
You know the right answer?
Write a class named person with data attributes for a person's name, address, and telephone number....
Questions
question
Mathematics, 10.09.2021 01:20
question
Mathematics, 10.09.2021 01:20
question
History, 10.09.2021 01:20
question
Chemistry, 10.09.2021 01:20
question
Mathematics, 10.09.2021 01:20
Questions on the website: 13722361