Hi tutor list,
Just trying to add some clarity to the built-in function strings using
join. The Python help
screen says it returns a string which is a concatenation of strings in
sequence. I am concatenating
the string I am working on that maybe an issue of its own.
Here's my example:
string ='ab'
so, if I type:
print string.join(string)
aabb
but if string is 'abc'
print string.join(string)
aabcbabcc
print string ='a' returns on a in this example, whit string='a '
returns aa. So, I am not catching
the pattern.
Thanks.
Steve
_______________________________________________
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor