Bayes' Rule With Python