labels = (1000, 'number >= 1000'), (200, '200 <= number < 1000'), (100,
    '100 <= number < 200'), (50, '50 <= number < 100'), (0, 'number < 50')
for i in number:
    for limit, label in labels:
        if i >= limit:
            pass
How to do elif statments more elegantly if appending to array in python