Skip to content

Instantly share code, notes, and snippets.

@topher200
Created November 17, 2017 19:36
Show Gist options
  • Save topher200/ee19812eb8ade4bfdaa45d2edc5ee90c to your computer and use it in GitHub Desktop.
Save topher200/ee19812eb8ade4bfdaa45d2edc5ee90c to your computer and use it in GitHub Desktop.
In [16]: def count(total_so_far, increment):
...: return total_so_far + increment
...:
In [19]: count(count(count(0, 1), 1), 1)
Out[19]: 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment