Python join() 方法用于将序列中的元素以指定的字符连接生成一个新的字符串。 str = "-"; seq = ("a", "b", "c"); # 字符串序列 print str.join( seq );