Pow(x, n) (C# and Python3)

Implement pow(x, n), which calculates x raised to the power n (i.e., xn).

Solution

C#

Python3

Don’t miss these tips!

We don’t spam! Read our privacy policy for more info.

Open chat
Powered by