def buyholdsell(n):
    """
    Param n is a number.
    Function will decide if the number is worth buying, holding, or selling.
    """

    if (n) in range(1, 30):
        return "I'm buying"
    elif (n) in range(30, 71):
        return "I'm holding"
    elif (n) in range(70, 101):
        return "I'm selling"
    else:
        return "Your number wasn't in the correct range"