我想在python中比较两个字符串.
例如:
str1 = 'hello' str2 = 'lolhe'
我想比较str1并str2得到结果True因为它们包含相同的字符.
str1
str2
True
python string compare character
character ×1
compare ×1
python ×1
string ×1