How To Code Probability In Python