Create logistic.py