How many objects are created when the below mentioned program is run in python 2.7.6? *I'm aware that an error message occurs after the execution and I'm also aware that strings are immutable and that's the reason behind the error message. What I really want to know is to find whether an object 's' is being created before the error or not?
string = "abcd"
string[1] = "s"