Fix a Bug: Python do not have "!" operator.