Create ex39.py