Z Pythonem można użyć operatora ** do obliczania mocy
>>> 5 ** 2 # 5 squared
25
>>> 2 ** 7 # 2 to the power of 7
128
Rubber Duck
>>> 5 ** 2 # 5 squared
25
>>> 2 ** 7 # 2 to the power of 7
128