#Reallocation of memory p= "MADRAS" print "Memory contains: %s\n"%(p) #There is no reallocation memory in python p="CHENNAI" print "Memory now contains: %s\n"%(p)
Memory contains: MADRAS Memory now contains: CHENNAI