Video wird geladen...
Video konnte nicht geladen werden
Can you solve this string comparison challenge? Explore the behavior of Python's string handling and learn about memory optimization in the language.
27,711 Aufrufe • vor 1 Jahr •via X (Twitter)
3 Kommentare

Google for Developersvor 1 Jahr
Here's a hint:

Armanvor 1 Jahr
print(a is d) will be False. While a is an interned string literal, "".join() creates a new string object for d, so they aren't the exact same object in memory, even if their value is identical.

1st Amendmentvor 1 Jahr
you getting system responses from the ai too?



