Skip to content

Instantly share code, notes, and snippets.

@emberian
Created July 6, 2012 01:45
Show Gist options
  • Save emberian/3057527 to your computer and use it in GitHub Desktop.
Save emberian/3057527 to your computer and use it in GitHub Desktop.
>>>>> def tetra(x, y):
c = x ** x
print c
>>> tetra(3, 3)
27
>>> tetra(2, 5)
4
>>> tetra(2, 3)
4
>>> tetra(5, 3)
3125
>>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment