Logistic Regression Program In Python For Prime