Create palin_7.py

Python3 is needed