"ANKUR AGGARWAL" <coolankur2...@gmail.com> wrote

hey although i knw string are mutable but i want to know if there is anyway
to add in the string.

Although strings are immutable there are numerous ways to create a new
variation on a string. For your purposes the replace() method is probably
best but if you do

help(str)

you can read about all the options.

You might also find the Handling Text topic of my tutorial helpful.

HTH,


--
Alan Gauld
Author of the Learn to Program web site
http://www.alan-g.me.uk/



_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to