Update ex26.py

Edited punctuation, grammar, spelling, and syntax.