earlier_name Complete the following function according to its docstring description. 1 def earlier_name(name1: str, name2: str) -> str: "*"Return the name, namel or name2, that comes first alphabetically >> earlier_name ('Jen', 'Paul') 4 'Jen' >> earlier_name('Colin', 'Colin') 7 "Colin' 8 2.

Np Ms Office 365/Excel 2016 I Ntermed
1st Edition
ISBN:9781337508841
Author:Carey
Publisher:Carey
Chapter9: Working With Text Functions And Creating Custom Formats
Section: Chapter Questions
Problem 1.7CP
icon
Related questions
Question
0110
earlier_name
Complete the following function according to its docstring description.
1 def earlier_name(name1: str, name2: str) -> str:
2.
*"Return the name, name1 or name2, that comes first alphabetically.
>>> earlier_name ('Jen', 'Paul')
4
'Jen'
>> earlier_name('Colin', 'Colin')
7
"Colin'
Submit
History
LO
Transcribed Image Text:0110 earlier_name Complete the following function according to its docstring description. 1 def earlier_name(name1: str, name2: str) -> str: 2. *"Return the name, name1 or name2, that comes first alphabetically. >>> earlier_name ('Jen', 'Paul') 4 'Jen' >> earlier_name('Colin', 'Colin') 7 "Colin' Submit History LO
Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage