These should probably be stored in a variable somewhere.

    data = [....]
    for klass, fact in data:
        ...