SyntaxFix
Write A Post
Hire A Developer
Questions
I assume you mean list and not array? There is such a thing as an array in Python, but more often than not you want a list instead of an array.
list
array
The way to check if a list contains a value is to use in:
in
if paid[j] in d: # ...