jackfrued / Python-Interview-Bible

Python面试宝典2020版

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

第四题的答案应该是错了吧

bzqyzzld opened this issue · comments

感觉你的第4题的答案和解释不一致

最后打印出来的结果应该是

True True
True False
True

@bzqyzzld 拙见:#2

commented

Python 3.8.10,官方的CPython运行结果为:
True True True True True

commented

Python 3.10.2,官方的CPython运行结果为:
True True True True True