Create learning.py