Question: 3. Create a function called userinfo() which will accept no input argument and return the user's name and surname. Inside the function you must ask

3. Create a function called userinfo() which will accept no input argument and return the user's name and surname. Inside the function you must ask the user for his/her name and surname and capture and return them. Then call the function with the following: 1. userinfo() and inside function provide Ben Baloyi as name and surname. 2. Display the functions' description using help. (Hint: You must write commentary inside your function body)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
