did a autopep8 on learner.py