4、6、8、10都是偶数。
在自然数的集合里,每个数字不是奇数就是偶数。
In the set of natural numbers, every number is either odd or even.
相反,它们最多可能涉及一点算术,比如“两个奇数之和为偶数”,以及常识。
Instead they may involve, at most, a little arithmetic, such as "the sum of two odd numbers is even", and common sense.
四、六和八是偶数,五和七不是。
偶数,除了4,都比奇数好,因为人们相信好事成双。
Even numbers, except four, are better than odd-as good things are believed to come in pairs.
许多数字,甚至是一些质数,只要它们不是偶数,也让人感觉相当“圆满”。
Many numbers, even some prime numbers, if they are not even, they still feel "round.
该函数的功能正如您所想:它测试一个数是否是偶数。
This function does just what you would think: It tests if a number is even.
本对答案很满意,他有些偏爱这样的想法:无穷大很大,大到既是奇数也是偶数。
Ben was satisfied with that answer and kind of likes the idea that infinity is big enough to be both odd and even.
例如,可以在一个数据库中存储偶数的会话id,在另一个数据库中存储奇数的会话id。
For example, you can have even session IDs on one database, an odd session IDs on another.
循环时间必须是重绘时间间隔的偶数倍,所以如果间隔为100,那么循环时间应该是200、500或者1000——但不能是750。
The cycle time must be an even multiple of the repaint interval, so if the interval is 100, then the cycle time could be 200, 500, or 1000 — but not 750.
有效的自定义分隔符必须具有偶数个十六进制数字。
A valid custom delimiter must have an even number of hexadecimal digits.
比如:“如果无穷大是奇数,它乘以2得出的数字应是偶数。”
For instance, "if infinity were odd, 2 times infinity would be even."
在用 “,” (逗号)作为分隔符分隔此值后,项的数目应该为偶数。
There should be an even number of entries after splitting the value using a "," (comma) as the delimiter.
如图3中所示,上面的示例代码生成了一张表,显示前五个偶数及其平方。
This example code generates a table of the squares of the first five even Numbers, as shown in Figure 3.
现在让我们实现更复杂的目标并添加一些有条件的文本呈现—例如,命名偶数和奇数表行的css类。
Let's make the goal more complex and add some conditional text rendering - for example, CSS class names for even and odd table rows.
用不同的颜色显示奇数行和偶数行,这样读者更容易阅读。
By alternating colors on even and odd rows, it makes the list easier to scan.
出于演示的目的,我们将转帐操作修改为每当转帐金额是偶数时就回滚事务。
For demonstration purposes, the transfer operation is modified to roll back the transaction whenever the transfer amount is an even number.
因此,只将偶数传递给了循环主体本身。
Thus, again, only the even Numbers will be passed to the body of the loop itself.
首尾长中间短型:各行中同时存在奇数及偶数星星排列,首行及尾行中的星星数量要多于其他行。
Long: Alternating rows of even and odd Numbers of stars, beginning and ending with the longer row.
游戏的规则是:“如果某张卡片上的数字是偶数,那么另外一边便是红色。”
The rule to be tested is: “If a card shows an even number on one side, then it is red on the other.
不管何时触动了该中断点,您都可以决定i是奇数的还是偶数的。
Whenever the breakpoint is hit, you can determine whether I is even or odd.
清单3中的简单级联样式表table.css在表的偶数行上放置灰色背景。
The simple cascading style sheet in Listing 3, table.css, places a gray background on even lines of the table.
结果得到的是所有小于400万且为偶数的fibonacci数。
The result is all of the Fibonacci Numbers less than 4 million and even.
如果x是偶数的话,x除以2当然,就等于x的一半了,对不对?
If x was even, x divided by two is going to be actually the half of x, right?
如果n是偶数,则除以2;
现在,我们要找到此序列中所有偶数项之和,且不超过 400 万。
Find the sum of all the even-valued terms in the sequence that do not exceed 4 million.
现在,我们要找到此序列中所有偶数项之和,且不超过 400 万。
Find the sum of all the even-valued terms in the sequence that do not exceed 4 million.
应用推荐