Question: HW 3 . 2 . Return Shorter Name Write a function get _ shorter _ name that takes in strings name _ 1 and name
HW Return Shorter Name
Write a function getshortername that takes in strings name and name and returns the shorter of the two names. If the names are the same length, simply return name
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
