Skip to content

Instantly share code, notes, and snippets.

@zekefarwell
Created April 28, 2020 18:50
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 zekefarwell/dff889b64569e5107c4f6fb293a65ec0 to your computer and use it in GitHub Desktop.
Save zekefarwell/dff889b64569e5107c4f6fb293a65ec0 to your computer and use it in GitHub Desktop.
# Didn't know this worked
def fullname(first, middle, last):
print(f'{first} {middle} {last}')
fullname(last="Farwell", first='Ezekiel', middle="Boyle-O'Reilly")
# Definitely didn't know this worked!
def fullnamekw(first='First', middle='Middle', last='Last'):
print(f'{first} {middle} {last}')
fullnamekw('Ezekiel', "Boyle-O'Reilly", 'Farwell')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment