When I compare id of a and b as following it returns true
a = 5
b = 5
print(a is b) # prints true
a = 5
b = 4
b += 1
print(a is b) # prints true
but when I use do the same thing with the string it returns false
s1 = 'string'
s2 = 'strin'
s2 += 'g'
print(s1 is s2) # returns false