Skip to content

Instantly share code, notes, and snippets.

@bayu-code-lab
Last active October 15, 2021 16:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bayu-code-lab/569d2f70767d537d24af62397fef9e3a to your computer and use it in GitHub Desktop.
Save bayu-code-lab/569d2f70767d537d24af62397fef9e3a to your computer and use it in GitHub Desktop.
#Regular Function
def full_name(first_name, last_name):
result = '{} {}'.format(first_name, last_name)
return result
#Lambda Function
lambda first_name, last_name: '{} {}'.format(first_name, last_name)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment