how to compare two string values in python code example Example: compare items of two stringd python q[i] == d[i]