compare two word strings in python code example Example: compare items of two stringd python q[i] == d[i]