Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from scipy.misc import comb
- def lattice_paths(s):
- return comb(2*s, s, exact=True)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement