Skip to content

Instantly share code, notes, and snippets.

@kevin-weitgenant
Created August 4, 2016 19:13
Show Gist options
  • Save kevin-weitgenant/49e97f4fb0b050caee4dede2749280d1 to your computer and use it in GitHub Desktop.
Save kevin-weitgenant/49e97f4fb0b050caee4dede2749280d1 to your computer and use it in GitHub Desktop.
practicepython.org exercise 12
def first_and_last():
a, *b, c = [5, 10, 15, 20, 25]
return print(a, "and ", c)
first_and_last()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment