Question #600

What is the output of the code snippet below?
a, b = 2, 3
print(a**b**a)

a receives 2 and b receives 3 . The ** operator start with the 2 elements on the right. 3**2 make 9 , and 2**9 make 512 . (docs.python.org/3.4/library/operator.html)


Comment on Disqus:

Question difficulty: ๐Ÿ”ต๐Ÿ”ต๐Ÿ”ต๐Ÿ”ต๐Ÿ”ต