也可用减号运算符,它的作用与相加和递增操作相反。
The subtraction operators are also available, providing the converse of the add and increment operations.
表示单目运算符的UML操作还设置有返回类型和一个参数。
A return type and a single parameter are set for UML operation that represents a unary operator.
但是,减法运算符是不可交换的;所以,需要两个操作来处理减数和被减数。
The subtract operator, however, is not commutative; therefore, you need two operations to handle the value to be subtracted and the value from which the subtraction will take place.
So this is the equality operator, whereas the single equal sign is the assignment operator.
所以这是相等操作符,然而那个单等号是一个赋值运算符。
And in Python the expression is, operand, operator, operand, when we're doing simple expressions like this, and if I give it to the interpreter, it gives me back exactly what you'd expect, which is that value. OK?
在Python中表达式就是,运算对象,操作符,运算对象,当我们处理这样的简单表达式的时候,我把表达式传给处理器,处理器给我返回了我想要的结果,对不对?
应用推荐