Python Codes for Think-Bayes