pep8 chord.py