Question: Function 3: Biographical Data Create a function called student.data, that takes 4 parameters, a name (a string), age (an in- teger), student number (a string)

 Function 3: Biographical Data Create a function called student.data, that takes

Function 3: Biographical Data Create a function called student.data, that takes 4 parameters, a name (a string), age (an in- teger), student number (a string) and whether they are enrolled in CSCA08 (a boolean), and returns a string containing that information in the following format: It may be helpful to remember that you can cast a number or a boolean to a string using the str function. Your code should work as follows >> student data("Brian",35, "1234567" .False) >>> student data("Nick" ,97, "0000001", True) '

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 Databases Questions!