Callback Functions Example In Python