Python Professional — Hard
Key points
- `sys.intern()` returns the same object for equal strings
- This behavior ensures memory optimization
- The comparison using `is` checks for object identity
Ready to go further?
Related questions
Python Professional — Hard
Key points
Ready to go further?
Related questions