Question: Question 1 : Creating a person Write a function called create _ person ( person _ description ) that creates a 5 element list from
Question : Creating a person
Write a function called createperson persondescription that creates a element list from a string, where the first
element is a unique id number, second element is the person's name which is itself a list the third element is their sex assume
possible values of male and female the fourth element is their age, and the fifth element is a list of unique id numbers as a
placeholder for children, which will initially be empty more about this soon in question
For example:Justin 'Smith' 'male', Justine'Smith' 'female', James'Smith' 'male', Jane'Smith' 'female',
You may assume that only names are capitalized, and that the only numbers that are used in these sentences are for someone's age.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
