migrate to git.charlotte.sh

This commit is contained in:
Charlotte Croce 2025-04-19 23:42:08 -04:00
commit fbd588721e
412 changed files with 13750 additions and 0 deletions

View file

@ -0,0 +1,13 @@
def first_last_name(full_name):
""" Returns a tuple with the first and last name.
:param full_name: (str) Contains a first and last name seperated by a space.
There is only a single space in the full_name.
:return: (tuple) Tuple containing first and last names
"""
return tuple(full_name.split(" "))
# Leave this part for easily testing your function
print('"Billie Holiday" first_last_name returns', first_last_name("Billie Holiday"))
print('"James Brown" first_last_name returns', first_last_name("James Brown"))