elif
🪜 Multi-step ticket check
Checks another condition if previous ones were false.
中文对照 · Chinese
🪜 多层阶梯检票口
第一个 if 没中,接着检查第二个条件(C++ 中写为 else if)。
Code example
elif score >= 80:
print('Great')Explore 100 bilingual word cards →Checks another condition if previous ones were false.
🪜 多层阶梯检票口
第一个 if 没中,接着检查第二个条件(C++ 中写为 else if)。
elif score >= 80:
print('Great')Explore 100 bilingual word cards →