Skip to content

Instantly share code, notes, and snippets.

@awentzonline
Created April 3, 2014 21:28
Show Gist options
  • Select an option

  • Save awentzonline/9963285 to your computer and use it in GitHub Desktop.

Select an option

Save awentzonline/9963285 to your computer and use it in GitHub Desktop.
def p(n):
if n == 0:
return '1'
return str(2 ** n) + p(n - 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment