[Tutor] how to add string into the specified position of the original string

Max Noel maxnoel_fr at yahoo.fr
Sun Oct 24 02:44:47 CEST 2004


On Oct 24, 2004, at 01:32, Lin Jin wrote:

> if i define a function:
> def setposition(post,outter,string):
>
> i want to call the function setposition(3,"S", "0S0 0SSSS") that 
> return the"OSOSOSSSS"
> HOW COULD I DEFINE THE FUNCTION TO MAKE THAT.THX

	Mmh... Could you give us more details about what your function does? 
Like, some other examples?

-- Wild_Cat
maxnoel_fr at yahoo dot fr -- ICQ #85274019
"Look at you hacker... A pathetic creature of meat and bone, panting 
and sweating as you run through my corridors... How can you challenge a 
perfect, immortal machine?"



More information about the Tutor mailing list