Python List Comprehensions Help

I forgot to mention, but using this line, you don't need to do all(result) afterward.

result = all(x not in value2 for x in exludes) and 'nReport' in value2
color = "#A" if result else "#F"
2 Likes