Advertisement
Guest User

Untitled

a guest
May 22nd, 2016
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PyCon 0.15 KB | None | 0 0
  1. def fact(num):
  2.     if num == 0:
  3.         return 1
  4.     else:
  5.         return num*fact(num - 1)
  6.  
  7. def fun(n,x=1):
  8.     return ((x**(2*n))/(fact(2*n)))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement