双语词卡 · 常用度第 10 位

elif

🪜 多层阶梯检票口

第一个 if 没中,接着检查第二个条件(C++ 中写为 else if)。

English

🪜 Multi-step ticket check

Checks another condition if previous ones were false.

代码示例

elif score >= 80:
    print('Great')
探索 100 张双语词卡 →