However, all the logical and comparison operators consistently return the value 1 for true.
然而,所有逻辑和比较运算符都全部返回值1,表示真。
The eq and ne seen here are value comparison operators.
这里的eq和ne都是值比较运算符。
This example also shows the new value comparison operators (see the next section for more details), and an IfExpr nested within a ForExpr.
这个例子还用到了新的值比较运算符详见下一节和嵌套在ForExpr中的IfExpr。
应用推荐