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其中的任何一個(gè)的狀態(tài)是True真,那個(gè)部分將會(huì)被運(yùn)行并且其他所有的elif或者else部分將會(huì)被跳過。
The above "elif" form will consecutively test each condition and execute the action corresponding to the first true condition.
以上“elif”形式將連續(xù)測試每個(gè)條件,并執(zhí)行符合第一個(gè)真條件的操作。
You can have as many elif sections as you need.
你可以根據(jù)你的需要擁有多個(gè)elif部分。
The result is an else if statement, which is shortened to elif, as demonstrated in Listing 6.
結(jié)果是一個(gè)elseif語句,簡寫為elif,如清單6所示。
The elif statement is very convenient.
elif語句非常方便。
Possessed: Adventures with Russian Books and the People Who Read Them. By Elif Batuman.
《著魔:與俄國著作及其讀者一起歷險(xiǎn)》,艾麗芙?巴圖曼著。