def dist_linf(p: Prob, q: Prob):
    'Distance between two probability distributions in L_infinity norm.'
    return np.max(np.abs((p.p - q.p)))
Distance between two probability distributions in L_infinity norm.
def dist_linf(p: Prob, q: Prob):
    
    return np.max(np.abs((p.p - q.p)))