Basic Arithmetic in Python
Arithmetic in Python
Arithmetic operators:
Addition: +
Subtraction: -
Multiplication: *
Division: /
Modulus operator (to get remainder): %
Modulus:
Order of operations:
Multiplication first, then subtraction then addition
Last updated