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