- 1

What is the value of 9 ** 9 ** 9?

28th Jun 2021, 7:23 AM
Ishaan
Ishaan - avatar
3 Antworten
+ 3
it depends on the language precedence rules: if ** operator apply left to right, then (9 ** 9) ** 9, else if right to left 9 ** (9 ** 9)
28th Jun 2021, 7:28 AM
visph
visph - avatar
+ 3
python and javascript have right to left associativity for ** operator (exponentiation)
28th Jun 2021, 7:31 AM
visph
visph - avatar
+ 3
value of 9 ** 9 is 387 420 489 value of 9 ** 387 420 489 is a very high big number (and would involves very long time to be computed and displayed)...
28th Jun 2021, 7:42 AM
visph
visph - avatar