pow python 3 code example Example 1: how to power in python 2 ** 3 == 8 Example 2: python pow pow(x,y)# ==x^y