Understanding assert For Debugging In Python