Post

yourclouddude
yourclouddude@yourclouddude·
@PythonDvz B) False True ✅ a == b is True because both strings have the same value: "hello". But a is b is usually False because is checks whether both variables point to the exact same object in memory, not just the same text.
English
0
0
2
149
ExamAdda
ExamAdda@examaddaorg·
@PythonDvz B - False True: 'is' tests object identity while '==' checks value; great reminder on Python strings!"
English
0
0
1
26
Paylaş