Question: the class should also contain the following methods 1. __init__(self, second_name, first_name) (1 marks) This function will assign: . second_name to my_family name . first_name

the class should also contain the following
the class should also contain the following methods 1. __init__(self, second_name, first_name) (1 marks) This function will assign: . second_name to my_family name . first_name to my_first_name . my_fathers_name, my_mothers_name, my_sisters_name and my_brothers name will all be set to the string 'unknown' 2. return_my_name (self ) (1 marks) . the function will return a dictionary containing two elements as follows: {'my first name' : my first name, 'my family name' : my family name

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!