Why there is 2 equals signs ia an if statement on python

后端 未结 0 1325
清歌不尽
清歌不尽 2020-12-10 12:02

if op == "+": print(num1 + num2)

Why it\'s used two equal signs on this if statment instead of only one?

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