homework for Python 3 for linguists