I was trying to make the connection between python string and C character array assignment to string literals. For example:
char* word="Hello";
word="Now";
assigns to the character String "Hello" placed in read only memory location. And now a reassignment of word to "Now" means a now the character array is assigned a memory location corresponding to "Now".
In python even numbers (and obviously strings) seem to work like that with a being assigned a memory location with value 2 and then reassigned a memory location with value 3.
a=2
a=3
This contrasts with C where for almost all variable assignments the variable contains the value it is assigned. Am I making a good comparison here?