Incognition logo
Home
Learn
Practice
Leaderboard
0
VisualizationsPython Fundamentals

Operator Precedence

Click Evaluate to work through 2 + 3 * 4 one step at a time. Python does the multiplication first, so the answer is 14, not 20.

2
+
3
*
4

Evaluating 3 * 4 next

Customize
Expression (numbers, + - * / // % **, parentheses)