Why does the function sometimes return 0 and sometimes return False?

前端 未结 0 469
谎友^
谎友^ 2020-12-13 04:58

I made a very simple function in Python 3.9 (f(x, y, z) = (x and y) or (not x and z)) that prints the result of this operation. What weirds me out is that in so

相关标签:
回答
  • 消灭零回复
提交回复
热议问题