PI. Strings immutability

Run Settings
LanguagePython
Language Version
Run Command
s2 = """All strings in python are immutable. It means to you, what if you'll like to change one, you better to produce a new one!""" try: s2[0] = "!" except TypeError as e: print e else: print "Hell! Single position assignment is working!" try: print "I said " + s2[26:35] + "!!!" s2[26:35] = "muttable" except TypeError as e: print e else: print "WAT?! Slice assignment is working!"
Editor Settings
Theme
Key bindings
Full width
Lines