Precedence of arithmetic operators.
Python follow same rule of Precedence which we already read in Algebra. if we have nested Parentheses then Inner most has the highest level of precedence.
Exponentiation solved from right to left.
other operators like multiplication, float division, integer division and modulus have same level of precedence.
while addition and subtraction have lowest level of precedence.
Негізгі бет Precedence of arithmetic operators in Urdu/Hindi
Пікірлер: 1