我一直在调试这段代码,无法让==
操作员处理两个匹配的字符串。
编码:
str1 = "string1"
str2 = "string2"
print str1
print str2
for row in results:
print row[0]
print row[1] #as requested
if((row[0] == str1) and (row[1] == str2)):
print "We found the match....."
#rest of the code