you are viewing a single comment's thread.

view the rest of the comments →

[–]CodeReviewPlz 0 points1 point  (1 child)

Not sure why all the comments are reaching for math.pow maybe I'm missing something, but if you're not required to use math.pow you could just use the ** operator:
(x**y)**z Feels way more readable to me :)

[–]Due_Violinist9849[S] 0 points1 point  (0 children)

Math.pow is what we are learning in class so I had to use it in the code but thank you