Operators
Math (+ - * / % // **), comparison (== != < >) and logic (and or not) operators.
Simple enough for a 5-year-old to understand
Math operators
Besides the four basic operations, there's also remainder (%), floor division (//) and exponent (**).
print(7 + 3)print(7 - 3)print(7 * 3)print(7 / 2)print(7 // 2)print(7 % 2)print(2 ** 3)🎯 Exercise & Practice
Test what you've learned — answer, write code, check instantly. (2 left)
🎯 Expected output: 3