Concreate Problem solved with Python
Operation include:
+Â Addition
–Â Subtraction
* Multiplication
/ Division
Code is made up of comments and expressions;
- Lines starting with # are comments. They are used to document code and helps others understand.
- The other line of code are expressions telling the compiler what to do each expression assigns a value to a variable. The assigned operator is =Â Â Â Â Â Â Â Â Â
Complex Arithmetic Operator are;
- % modulo: It returns the reminder of the division either even or odd.
- ** power: It raises a number to a certain power.
- // integer division: It calculates the integer division (rounded down)
Version for each Arithmetic Operator;
- += is for addition
- -= is for subtraction
- *= is for multiplication
- /= is for divisionÂ
- %= is for reminder of inter division
Â
Â