Challenge yourself

Beginner
Intermediate
Expert

Write a function that takes three numbers, x, y and z, it gets sum of x and y and raises its result to the power of z, and prints the final result.

Example:

>>> calculate(2, 3, 2)
25


Call it


ⓘ