or / ||
🚪 两个入口只要走通任意一个就行
Python 写 `or`,C++ 写 `||`,满足其中一个条件即可。
English
🚪 True if at least one condition is true
Logical OR: true if either side is true.
代码示例
if is_sat or is_sun:探索 100 张双语词卡 →
Python 写 `or`,C++ 写 `||`,满足其中一个条件即可。
🚪 True if at least one condition is true
Logical OR: true if either side is true.
if is_sat or is_sun:探索 100 张双语词卡 →