S
S
Stan Jones2018-07-28 08:45:38
Python
Stan Jones, 2018-07-28 08:45:38

How is the exponentiation operator done from left to right in python?

If the expression has several operators that are in Table 5.2 on the same line, they are executed in the direction from left to right (the exception is the exponentiation operator - these operators are executed from right to left, and relational operators, which are combined in the direction from left to right).
Please explain more clearly.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Moseychuk, 2018-07-28
@fshp

Exponentiation right associative operation

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question