Skip to content

Instantly share code, notes, and snippets.

@rec
Created November 16, 2016 18:04
Show Gist options
  • Save rec/df050bb5a6c9230ff039d5682aed7eb4 to your computer and use it in GitHub Desktop.
Save rec/df050bb5a6c9230ff039d5682aed7eb4 to your computer and use it in GitHub Desktop.
def do_it(dog='Oliver', cat='X10'):
return 1, 'a', True, dog, cat
x, y, z, *animals = do_it()
print(x)
print(y)
print(z)
print(animals)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment