Skip to content

Instantly share code, notes, and snippets.

@RaMSFT
Created October 13, 2022 02:53
Show Gist options
  • Select an option

  • Save RaMSFT/f7b9b53edade68d5726d39e57f1a2012 to your computer and use it in GitHub Desktop.

Select an option

Save RaMSFT/f7b9b53edade68d5726d39e57f1a2012 to your computer and use it in GitHub Desktop.
def concat_last_first_name(first, last):
full_name = f"{last}, {first}"
return full_name
print(concat_last_first_name("First", "Last"))
print(concat_last_first_name("John", "Nelluri"))
print(concat_last_first_name("Trump", "Donald"))
print(concat_last_first_name("Mark", "Rutt"))
print(concat_last_first_name("Modi", "Narendra"))
print(concat_last_first_name("Elon", "Musk"))
print(concat_last_first_name("Bill", "Gates"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment