Post

Python Programming
Python Programming@PythonPr·
Python Quiz: Drop your answer in the comments.
Python Programming tweet media
English
26
9
72
8.2K
Jimmy Fikes
Jimmy Fikes@akajim·
@PythonPr C. == evaluates values, so a == b is True. The IS operator checks for identity. Since a and b are different objects in memory, a is not b, so False.
English
1
2
15
439
ReBet
ReBet@rebetapp·
New here? Kick off with an exclusive welcome bonus just for you
English
0
15
266
10.1M
Salvo Micciché
Salvo Micciché@salvomic·
@PythonPr C : True False They are equal but not the same variable: == isn't "is"
English
0
1
3
175
Paylaş