
s = ['a', 'b', 'c', 'd']

print ''.join(s)

print '-'.join(s)
输出结果:
abcd
a-b-c-d

a = 'hello'

b = 'python'

c = 1

print '%s %s %s %s' % (a, b, c, s)
hello python 1 ['a', 'b', 'c', 'd']
<a target="_blank" href="http://www.cnblogs.com/coderzh/archive/2008/05/03/1180584.html">Python 天天美味(8) - 字符串中的字符倒转</a>
<a target="_blank" href="http://www.cnblogs.com/coderzh/archive/2008/05/03/1180705.html">Python 天天美味(9) - translator</a>
...
本文转自CoderZh博客园博客,原文链接:http://www.cnblogs.com/coderzh/archive/2008/05/03/1180563.html,如需转载请自行联系原作者