... logical IF statement 逻辑条件语句 else if statement 否则若叙述 macro IF statement 宏条件语句 ; 宏IF叙述 ...
基于32个网页-相关网页
The result is an else if statement, which is shortened to elif, as demonstrated in Listing 6.
结果是一个else if语句,简写为elif,如清单6所示。
The if statement supports an optional else clause that indicates a block of program statements that should be processed if the Boolean expression evaluates False.
if语句支持一个可选的else子句,指示当布尔表达式计算为False时应该处理的程序语句块。
The solution provided is remarkably simple: you add an extra if statement to the else clause.
提供的解决方案非常简单:给else子句添加一个额外的if语句。
应用推荐