+ 3
Who can explain to me better about Numeric-Operations?????
2 Respostas
+ 11
a = 10 and b = 20
+ Addition : Adds values on either side of the operator
example a + b = 30
-Subtraction : Subtracts right hand operand from left hand operand
example a - b = -10;
* Multiplication : Multiplies values on either side of the operator
example a * b = 200
/ DivisionDivides : left hand operand by right hand operand
example b / a = 2
% ModulusDivides : left hand operand by right hand operand and returns remainder
example b % a = 0
** ExponentPerforms : exponential (power) calculation on operators
example a**b =10 to the power 20
//Floor Division : The division of operands where the result is the quotient in which the digits after the decimal point are removed. But if one of the operands is negative, the result is floored, i.e., rounded away from zero (towards negative infinity)
example 9//2 = 4 and 9.0//2.0 = 4.0, -11//3 = -4, -11.0//3 = -4.0
details https://www.tutorialspoint.com/JUMP_LINK__&&__python__&&__JUMP_LINK/python_basic_operators.html
or search Google
0
yeah its right