Thanx Terry it worked, I was thinking if input_string could be searched from given_string and replaced in the input_string but your one is smarter. And Peter, thanx for trying to teach conventions. But if I write explicit comments, and carry on using my own variables( I can use anything as they are variables:-) ) according to my own ease isn't that good? Best Regards, Subhabrata.
MRAB wrote: > On Jul 19, 6:34�am, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote: > > On Fri, 18 Jul 2008 16:43:35 -0700 (PDT), John Machin > > <[EMAIL PROTECTED]> declaimed the following in comp.lang.python: > > > > > > > > > The only language I remember that had implicit typing was FORTRAN (GOD > > > is real, but JESUS is an integer). > > > > Hadn't seen that one before -- maybe because I learned FORTRAN IV at a > > college in the middle of west Michigan; I think half the population was > > one step away from turning Amish <G> > > > > I learned it by the word: Indian -- implicit integers began at I, and > > ended with N. > > > You could've just used the first 2 letters of 'integer'! :-) -- http://mail.python.org/mailman/listinfo/python-list