modified:   ex35.py