Modified example.py and added print statement