← Concepts
Operators
Arithmetic and comparison.
Python uses `+ - * / // % **` for math and `== != < > <= >=` to compare. `//` is integer division, `%` is the remainder.
Worked example
print(7 // 2) # 3
print(7 % 2) # 1
print(2 ** 8) # 256Related challenges