Advertisement
Guest User

Untitled

a guest
May 29th, 2015
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.09 KB | None | 0 0
  1. from scipy.misc import comb
  2.  
  3. def lattice_paths(s):
  4.     return comb(2*s, s, exact=True)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement