or / ||
🚪 True if at least one condition is true
Logical OR: true if either side is true.
中文对照 · Chinese
🚪 两个入口只要走通任意一个就行
Python 写 `or`,C++ 写 `||`,满足其中一个条件即可。
Code example
if is_sat or is_sun:Explore 100 bilingual word cards →
Logical OR: true if either side is true.
🚪 两个入口只要走通任意一个就行
Python 写 `or`,C++ 写 `||`,满足其中一个条件即可。
if is_sat or is_sun:Explore 100 bilingual word cards →