Computer Science, asked by shivamnagpal2003, 10 months ago

Write the precedence of operators used in Python.​

Answers

Answered by sriti88
5

Almost all the operators have left-to-right associativity. For example, multiplication and floor division have the same precedence. Hence, if both of them are present in an expression, left one is evaluates first. Exponent operator ** has right-to-left associativity in Python.

Similar questions