Play Home Contribute GitHub Join Us Discourse Staff Members GitHub Contribution Guides Team

Cubic Minefield help


It is not a code problem just a math issue I have no clue what this level really wants me to do.

# This function returns the number to the exponent power.
def power(number, exponent):
    total = 1
    # Complete the function. It must return the cube of the base
    return total

I am so stumped.


We provide a similar function for multiplication above the empty power function which should guide you into making the power function!


On a side note, shouldn’t power return not just the cube of the base as stated in the comment, but the given exponent of the base?


Sorry, it was the wrong comment (rudiment). Fixed.


I’m stuck too. Can you help?


I think it’s better for you to play levels in campaign one by one and learn. Adventurer levels are usually for experienced players.


@Bryukh never mind i solved it… old post


i am stuck at it too. can you help me to pass it?


what is wrong? can you tell me?


Please post your code so we can help :wink:


Sorry, my telepathic abilities are limited. Could you give more information?