Total probability and Bayes by code | StemPy Lab