def get_level(value):
    level = 0
    for level_bin in levels_list:
        if (value > level_bin):
            level += 1
        else:
            return level
    return level
def get_level(value):
    level = 0
    for level_bin in levels_list:
        if (value > level_bin):
            level += 1
        else:
            return level
    return level