added ex20.py