Numbers

Python has three main numeric types: int, float, and complex.

Example
a = 10          # int
b = 3.5         # float
c = 2 + 3j      # complex
print(a + b)
print(c.real, c.imag)

Arithmetic

Example
x = 17
y = 5
print(x + y)   # 22
print(x - y)   # 12
print(x * y)   # 85
print(x / y)   # 3.4 (true division)
print(x // y)  # 3 (floor division)
print(x % y)   # 2 (remainder)
print(x ** y)  # 1419857 (power)