def isnum(num):
    """
    Returns true if the inputted argument can be converted into a float or int
    :param num:
    :return: Boolean value
    """
    try:
        float(num)
    except ValueError:
        return False
    return True