Resolved: Power operator sequence
**In example - It has to be right operand to the power of left operand, right?
1 answers ( 1 marked as helpful)
Hi Meenakshi!
Thanks for reaching out!
In the expression 5 ** 3
, the **
operator is used for exponentiation in Python, where 5 is the base and 3 is the exponent. This means 5 is raised to the power of 3, not the other way around.
Hope this helps.
Best,
Ivan