elif

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.

着魔俄国著作及其读者一起历险》,艾丽芙巴图曼

热门查询