def add(num1, num2):
    return num1 + num2

def subtract(num1, num2):
    return num1 - num2

def multiply(num1, num2):
    return num1 * num2

def divide(num1, num2):
    return num1/ num2

def square(num1):
    return num1 * num1 

def cube(num1):
    return num1 * num1 * num1

def power(num1, num2):
    return num1 ** num2

    """
    i = 1
    result = num1 

    while ( i < num2):

        result = result * num1
        i += 1 

    return result
    """

def mod(num1, num2):
    return num1 % num2
