Question: 7.3 Create a function called initials that takes in a person names and then returns the initials. You should pass the names using For example
Create a function called initials that takes in a person names and then returns the initials. You should pass the names using For example for it should return Or, for John Ronald Reuel Tolkien it should return (one to rule them all). Copy this code into main.py to get started. def initials(*args): pass if name_=" "-main_"" print(initials("James", "Marshall", "Hendrix")) \# should print the return value of "J.M.H" print(initials("John", "Ronald", "Reuel", "Tolkien")) \# should print the return value of "J.R.R.T
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
