• The elif statement is very convenient.

    elif语句非常方便

    youdao

  • Possessed: Adventures with Russian Books and the People Who Read Them. By Elif Batuman.

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

    youdao

  • And then it has a strange thing called ELIF, which is simply short for else/if in a second test.

    然后代码做一个奇怪的,叫做ELIF的事情,也就是else/if简写,第二个测试

    youdao

  • The result is an else if statement, which is shortened to elif, as demonstrated in Listing 6.

    结果一个elseif语句,简写elif清单6所

    youdao

  • This example includes only one elif statement, but in practice you can include as many as the program needs.

    包含一个elif语句实际根据程序需要包含任意多个。

    youdao

  • The above "elif" form will consecutively test each condition and execute the action corresponding to the first true condition.

    以上elif形式连续测试每个条件执行符合第一条件操作

    youdao

  • You can also build more complex conditional tests using an if/elif/else (elif being the equivalent to PHP's elseif), as shown in Listing 8.

    可以使用if/elif/elseelif等价PHP 中的elseif创建更加复杂条件测试如清单8

    youdao

  • Although it isn't the optimal solution, multiple elif statements can be used to mimic the switch case statement present in some other languages.

    尽管不是优的解决方案,但是多个elif语句可以用于模拟其他一些语言中的switchcase语句

    youdao

  • The expression used in the if statement (and in the elif clause and the while loop discussed later in this article) can be as complex as necessary.

    if语句(以及本文后面讨论elif子句while循环)中的表达式可以很复杂。

    youdao

  • If none of the conditions are true, it will execute the "else" action, if one is present, and then continue executing lines following the entire "if, elif, else" statement.

    如果没有条件执行else操作,如果有一个条件为真,继续执行整个if,elif, else ”语句之后的行。

    youdao

  • However, generic functions are much better; generic functions will order themselves from more to less specific so there is no question of putting an elif in the wrong place.

    然而,使用通用函数更好;通用函数自己有些或特性因此不会错误的地方使用elif

    youdao

  • However, generic functions are much better; generic functions will order themselves from more to less specific so there is no question of putting an elif in the wrong place.

    然而,使用通用函数更好;通用函数自己有些或特性因此不会错误的地方使用elif

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定