> Strings
>The rule of thumb for strings is the core string object takes 41 bytes. Each additional character is 1 byte.
That's misleading. There are three types of strings in Python (1, 2 and 4 bytes per character).https://rushter.com/blog/python-strings-and-memory/ |