# Precedence

Precedence determines how operators in expressions are grouped.

Related concepts: OperatorExpressionAssociativity

*Closest Wikipedia entry:* Order of operations — In mathematics and computer programming, the order of operations is a collection of rules that reflect conventions about which operations to perform first in order to evaluate a given mathematical expression. These rules are formalized with a ranking of the operations. The rank of an operation is called its precedence, and an operation with a higher precedence is performed before operations with lower precedence.

## Misconceptions about Precedence2 documented Misconceptions

No known Python misconceptions for this concept