elif
美
英 
例句
Once any one of the if or elif conditions is True, that section will run and all other elif or else sections will be skipped.
一旦if或者elif其中的任何一个的状态是True真,那个部分将会被运行并且其他所有的elif或者else部分将会被跳过。
The above "elif" form will consecutively test each condition and execute the action corresponding to the first true condition.
以上“elif”形式将连续测试每个条件,并执行符合第一个真条件的操作。
You can have as many elif sections as you need.
你可以根据你的需要拥有多个elif部分。
The result is an else if statement, which is shortened to elif, as demonstrated in Listing 6.
结果是一个elseif语句,简写为elif,如清单6所示。
The elif statement is very convenient.
elif语句非常方便。
Possessed: Adventures with Russian Books and the People Who Read Them. By Elif Batuman.
《着魔:与俄国著作及其读者一起历险》,艾丽芙•巴图曼著。