Überprüfen Sie, ob die Zeichenfolge in der Liste in der Liste Python gleich ist
if any(x in paid[j] for x in d):
# do stuff
Comfortable Caterpillar
if any(x in paid[j] for x in d):
# do stuff