Create learn.py