def biggest(num1, num2):
    """compare two numbers and return the larger one.

    :param num1: float or integer, one of the numbers to be compared.
    :param num2: float or integer, the other of the number to be compared.
    :return: float or integer, the larger one of num1 and num2.
    """
    if num1 > num2:
        return num1
    else:
        return num2