1、比较字符串是否相同:
==:使用==来比较两个字符串内的value值是否相同
is:比较两个字符串的id值。
Python字符串
原文:https://www.cnblogs.com/vanoraxnc/p/9246057.html