Hannes Mindt
last year
Hannescountry asked

In Python, is 4**3 the same, as in other languages (like excel e.g.) 4^3?

Abhay Jajodia
Expert
last year
Abhay Jajodia answered

Hello Hannes! Yes, 4**3 in Python is the same as 4^3 in Excel. This operation is known as exponentiation, which is raising a number to the power of another.

Basically,

4**3 = 4 * 4 * 4 = 64 

Hope this clarifies things for you! Let me know if you have any more questions. Happy coding!

Python
This question was asked as part of the Getting started with Python course.