Added ex29.py

If statements