ex17.py extra credit one line