Update ex18.py

Oops.