Mega Code Archive

 
Categories / Python Tutorial / Operator
 

Exponentiation (or power) operator

print 2 ** 3  print -3 ** 2  print (-3) ** 2