Python supports standard math operations:
5 + 3 # Addition: 8
5 - 3 # Subtraction: 2
5 * 3 # Multiplication: 15
5 / 3 # Division: 1.666...
5 // 3 # Floor division: 1
5 % 3 # Modulo (remainder): 2
5 ** 3 # Exponent: 125
Division (/) always returns a float, even if the result is whole: 6 / 3 gives 2.0, not 2.
Floor division (//) gives the integer part of division. Modulo (%) gives the remainder. Together they let you do integer arithmetic: 17 // 5 is with remainder 17 % 5 = .