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