-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
第11课 字符串is运算错误 #59
Comments
遇到同样的情况 |
这是来自QQ邮箱的假期自动回复邮件。
您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。
|
这是来自QQ邮箱的假期自动回复邮件。您发给我的信件已经收到。
|
您好信以收到
将在下次登陆gmail或qqmail后进行回复
|
邮件已收到,辛苦了!!!
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
第11课
s1 = 'hello world'
s2 = 'hello world'
s3 = s2
比较字符串的内容
print(s1 == s2, s2 == s3) # True True
比较字符串的内存地址
print(s1 is s2, s2 is s3) # False True
s1 is s2 会返回true
s1 s2 s3三个对象引用同一个字符串池
The text was updated successfully, but these errors were encountered: