$ ./guess_the_languageProblem Solving — predict the output
Problem Solving — predict the output · easy · #180

What is the output?

print(2 ** 3 ** 2)
  1. 512
  2. 64
  3. 36
  4. 81
Exponentiation is right associative, so it reads as 2 ** (3 ** 2).
Play Problem Solving ▸