+ 1

Can anyone show me this exponention calculation [Solved]

The answer is shown around 43,000 and I can't figure it out why is it like that in the calculator although I got the same answer in calculator. It is just an experiement which I am doing while learning https://code.sololearn.com/cM7G9veQ4pDy/?ref=app

12th Sep 2021, 9:52 AM
<k>Kartik</k>
6 Answers
+ 2
It calculates from the right side, not sure why though 3 ** 2 ** 2 ** 2 > 3 ** 2 ** 4 > 3 ** 16 > 43,046,721
12th Sep 2021, 10:00 AM
Tim
Tim - avatar
+ 3
Hi Kartik! Unlike other operators, exponential operator is evaluated right to left in python. Alternatively, you can just think about what we're doing in usual mathematics. We can write this expression on a piece of paper like this 2 2 2 3 2⁎ So, it can be shorten as 3 which is equal to 3Âč⁶.
12th Sep 2021, 1:05 PM
Python Learner
Python Learner - avatar
+ 1
Thank you Nick
12th Sep 2021, 10:01 AM
<k>Kartik</k>
+ 1
No problem, I would love to give you an explanation but math isn't really my thing 😅
12th Sep 2021, 10:02 AM
Tim
Tim - avatar
+ 1
Nick The way you explained above is enough for me to understand😉
12th Sep 2021, 10:06 AM
<k>Kartik</k>
12th Sep 2021, 2:03 PM
<k>Kartik</k>