Python Program To Implement Bayesian Network Code