What does a , operator do when used in the right hand side of a conditional?

后端 未结 0 988
花落未央
花落未央 2020-12-24 10:58
a = 10
b = 9
c = 9
if(a > b,c):
    print(\'In if\')
else:
    print(\'In else\')

Someone posted the above piece of code, and asked why the above

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