Evaluating expression in Python

x=2
y=3
z=2

print x**y**z  #Answer 512

print (x**y)**z  #Answer 64

print x**(y**z)  #Answer 512


1 comment:

Anonymous said...

thank you.for mor information.
visit
web programming tutorial
welookups