Arithmetic calculation operators

Operator

Description

Example

+

Adds values

x + y + z = 5

- 

Subtracts values

num1 – num2 = 3

* 

Multiplies values

x * y = 9

/ 

Divides the left operand by the right operand

b / a = 3

%

Divides the left operand by the right operand and returns the remainder

x % a = 0

** 

Performs an exponential (power) calculation on operators

a**b =9 

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.147.103.202