在Python中,你可以定义条件语句,称为if语句。
The conditional statement won't affect require().大多数函数包含条件语句,损害了这些估计值的准确性。
Most functions contain conditional statements, jeopardizing the accuracy of these estimates.
Each conditional statement checks a different condition that input values must verify.Awk提供表达式,条件语句,循环,和其他编程结构。
Awk offers expressions, conditional statements, loops, and other programming constructs.Combinations with other parts of speech
It uses conditional statements to modify, filter, and so on.命令通常在shell脚本中的条件语句和循环语句使用。
The commands are usually employed in conditional statements and loops of shell scripts.了解如何使用条件语句和循环来操作存储在变量和数组中的数据。
Discover how conditional statements and loops are used to manipulate data stored in variables and arrays.条件语句是所有编程语言中最有用和最常见的特征之一。
Conditional statements are among the most useful and common features of all programming languages.一般情况下,如果语句是条件语句,就应该首先尝试直接证明;.
Generally, if the statement is a conditional statement, you should first try a direct proof;具体议题包括逻辑形式和逻辑等价,条件语句,有效和无效的参数,数字逻辑电路,模运算,图形和树木。
Specific topics include logical form and logical equivalence, conditional statements, valid and invalid arguments, digital logic circuits, modular arithmetic, graphs and trees.条件语句是一个多行语句,它允许Python根据表达式的真值选择不同的选项。
A conditional statement is a multi-line statement that allows Python to choose among different alternatives based on the truth value of an expression.UNIXShell支持条件语句,从而根据不同的条件下执行不同的操作。
Unix Shell supports conditional statements which are used to perform different actions based on different conditions.条件语句的测试,看看这个角色可以在较低的使用索引()函数。
The conditional statement tests to see if that character can be found in lower using the index() function.现在我们将使用条件语句来定义一个看似相当虚假和对立的函数,但是在本章后面的章节中会变得方便。
We will now use conditional statements to define a function that seems rather artificial and contrary, but will come in handy later in the chapter.这是一个非常简单的映射,但如果条件语句更复杂怎么办??
That's a very simple mapping, but what if the conditional statement is more complicated?Python条件语句是通过一条或多条语句的执行结果(True或者False)来决定执行的代码块。
Python conditional statements are blocks of code that are executed by the execution result of one or more statements(True or False).总之,循环和条件语句都可以使用break语句来提前结束它们的执行。
However, loops and conditional statements can both use the break statement to end their execution prematurely.像这样的问题在回顾第二条件语句或从属条款的简单游戏中是典型的。
A question like this istypical in a simple game reviewing second conditional statements or subordinate clauses.Shell脚本可以帮助你创建包含条件语句,循环和函数的复杂程序.
Shell scripting canhelp you create complex programs containing conditional statements, loops, and functions.那两个分支都是简单的语句,当然它们也可以是条件语句。
Those two branches are both simple statements,although they could have been conditional statements as well.以下是MySQL的字符串函数列表,它们大多用于创建字符串和其他一些元素联营条件语句。
Below are the list of MySQL StringFunctions that are mostly used to create conditional statements for strings and some other associate elements.预备知识:基本的C/C++编程能力,包括熟悉变量类型、循环、条件语句、函数和数组操作。
Basic C/C++ competency including familiarity with variable types,loops, conditional statements, functions, and array manipulations.映射(比如dict等)的搜索速度远快于条件语句(如if等)。
The search speed of mappings(such as dict, etc.)is much faster than conditional statements(such as if, etc.).随着他们学习了更多的编程概念,比如循环和条件语句,他们可以将代码浓缩为两行。
As they learn more programming concepts, like loops and conditional statements, they can condense that code to two lines.条件语句(第26行)检测是否所有资源都已经消费完。
The conditional(line 26) detects when all finite resources have been consumed already.通常情况下,可以使用条件语句,但是这回使逻辑变得混乱,所以建议使用策略模式。
As usual, conditional logic can be used but it will become messy, so the advice it to use a strategy pattern instead.媒体查询是一种条件语句,用来确定将什么CSS应用到Web页面。
Media queries are a sort of conditional statement that determine what CSS is applied to a web page.在使用JavaScript时,我们会处理很多条件语句,这里有5个技巧可以帮助您编写更好、更简洁的条件语句。
When working with JavaScript, we deal a lot with conditionals, here are the 5 tips for you to write better/ cleaner conditionals..而正则表达式(行10,45)则可以用与函数式编程本身无关的方式,有效隐藏循环和条件语句。
Regular expressions(lines 10,45) effectively hide looping and conditionals in manner unrelated to functional programming per se.