Debugging Javatpoint Python Function Example