代码示例:(标识:python_oper_compare_2)
python_oper_compare_2.py
x = 5
y = 3

print(x != y)

# returns True because 5 is not equal to 3
运行结果: