Challenge183E.py and tests