Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import sys
- def waxplanck(n):
- i0 = 0
- value = 2
- while i0 < n:
- value = (value ** (n + 1)) + n - 1
- i0 += 1
- return value
- print waxplanck(int(sys.argv[1]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement