Last active
October 15, 2021 16:55
-
-
Save bayu-code-lab/569d2f70767d537d24af62397fef9e3a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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