标签: python
我一直用以下代码敲打我的脑袋......
code = (404, 200) if code[0] is 404: print "yes" if code[1] is 200: print "yes"
应该返回true对吗?但只是数字200的条件和真正的原因?