如何用python语言比较两个中文字符串是否相等

如题所述

第1个回答  2017-09-04
a = 'this is a string.'
b = 'this is other string.'
if a == b:
    print('a = b')
else:
    print('a != b')

本回答被提问者采纳