📌  相关文章
📜  python 检查 3 个值是否相等 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:03.374000             🧑  作者: Mango

代码示例1
cat, dog, rabbit = 1, 1, 1
print (cat == dog == rabbit)
>>> True
cat, dog, donkey = 1, 1, 2
print (cat == dog == donkey)
>>> False