Update example.py to use snake case