python check if list value equals a string code example
Example 1: python check if list contains value
if value in list:
#do stuff
#Also to check if it doesn't contain
if value not in list:
#do stuff
Example 2: check if string equals string in list python
if any(x in paid[j] for x in d):
# do stuff