1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Otrada [13]
2 years ago
12

Qn 1) Use only Python Programming language for the below question.

Computers and Technology
1 answer:
Readme [11.4K]2 years ago
6 0

Using the knowledge of computational language in python we can write definitions of some functions that will be useful to organize the personal information of a person.

<h3>Writing this code in python we have:</h3>

<em>class Address:</em>

<em>      def __init__(self, street, num):</em>

<em>        self.street_name = street</em>

<em>        self.number = num</em>

<em>class CampusAddress(Address):</em>

<em>       def __init__(self,of_num,c_street="Hougang",c_num=77):</em>

<em>        self.office_number=of_num </em>

<em>        Address.__init__(self,c_street,c_num) </em>

<em>sally_addr = CampusAddress('8745 5951') </em>

<em>print(sally_addr.office_number)</em>

<em>print(sally_addr.street_name)</em>

<em>print(sally_addr.number)</em>

<em>print()</em>

<em>my_addr = CampusAddress('1111 1111','streaks',99)</em>

<em>print(my_addr.office_number)</em>

<em>print(my_addr.street_name)</em>

<em>print(my_addr.number)</em>

See more about python at brainly.com/question/23271145

#SPJ1

You might be interested in
In addition to using the icons to adjust page margins, a user can also use _____.
Elenna [48]

The shift button, space,or the tab.

4 0
4 years ago
Read 2 more answers
Amy, a project manager, needs to make a plan that ensures consistent delivery of the right message to the right people at the ri
AleksAgata [21]
I would have to say the answer is D.) A communication plan. Hope this helps! :-)
7 0
3 years ago
The connectors on the computer allow you to plug in devices such as keyboards and printers. what are these called?
madam [21]
USB port. That allows you to plug in devices.
8 0
4 years ago
Instead of typing an individual name into a letter that you plan to reuse with multiple people, you should use a _______ to auto
REY [17]

Mail Merge is the correct answer. I had this assignment a few months ago.

4 0
3 years ago
Which ad extensions can serve automatically?
sp2606 [1]

Answer:

Sitelink, callout, and structured snippets.

Explanation:

hope this helps

8 0
3 years ago
Read 2 more answers
Other questions:
  • ​according to your text, digital natives tend to prefer different digital communication channels more than do digital immigrants
    5·1 answer
  • If I want to make it look like slide number one is turning a page to slide number two, what effect needs to be applied?
    13·1 answer
  • Rachel wants to post content from digital cameras on the web. Which online tool will help Rachel to post and edit content on a w
    5·1 answer
  • By using the internet, your company can obtain discounts thorugh...
    15·2 answers
  • How do you change the color on the text in the email​
    6·1 answer
  • How many report charts can be added to the account page layout to meet this requirement? A sales manager would like to look at a
    14·1 answer
  • What is the term for movement in particular direction
    15·2 answers
  • Free pass if you want it.
    12·2 answers
  • Editing is the process of cutting out the bad parts. True or false?
    7·2 answers
  • Select the correct answer.
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!