def MOONPHASE(age, percent):
    if (percent == 0) and (age == 0):
        phase = __language__(32501)
    elif (age < 17) and (age > 0) and (percent > 0) and (percent < 50):
        phase = __language__(32502)
    elif (age < 17) and (age > 0) and (percent == 50):
        phase = __language__(32503)
    elif (age < 17) and (age > 0) and (percent > 50) and (percent < 100):
        phase = __language__(32504)
    elif (age > 0) and (percent == 100):
        phase = __language__(32505)
    elif (age > 15) and (percent < 100) and (50 > percent):
        phase = __language__(32506)
    elif (age > 15) and (percent == 50):
        phase = __language__(32507)
    elif (age > 15) and (percent < 50) and (percent > 0):
        phase = __language__(32508)
    else:
        phase = ''
    return phase
dataset/ETHPy150Open pimusicbox/pimusicbox/filechangesxbmc/.xbmc/addons/weather.wunderground/resources/lib/utilities.py/MOONPHASE/swapped operands of `>`