function that modifies a string
Simon Forman
rogue_pedro at yahoo.com
Mon Jul 10 02:20:26 EDT 2006
placid wrote:
> quick hack
>
> def thefunc(s):
> return s = "||" + s + ">>"
>>> def thefunc(s):
return s = "||" + s + ">>"
SyntaxError: invalid syntax
More information about the Python-list
mailing list