
# probN.py

import math

def probN(n, x):
 # after n steps, wht is prob of landing on x?
 return math.comb(n, x) / (2**n)