def noInf(value1, value2):
    """
    Takes in two values and divides the first by the second
    If valu2 is 0 then take the value to be 0
    """
    if(value2 == 0):
        return(0)
    else:
        return(value1 / value2)