Question: Write ( define ) a function named get _ initials, that takes one argument ( you can safely assume that arguments will always be a
Write define a function named getinitials, that takes one argument you can safely assume that arguments will always be a str with a first name and a last name separated by a single space When this function is called, it should return a str that contains the initials for the name given in the argunment.
Examples:
getinitialsBob Smith' will return BS
getinitialsJill Rowan' will return JR
getinitialsAmy Zapata' will return AZ
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
