python if equals any value in list code example
Example 1: how to check if value is in list python
>>> letters = [a,b,c,d,e]
>>> 'a' in letters:
True
Example 2: check if string equals string in list python
if any(x in paid[j] for x in d):
# do stuff