橘子味的心
标题:Python3 字符串String Join Sequence 方法

Python3 字符串String Join Sequence 方法

#!/usr/bin/python3

s = "-"
seq = ("a", "b", "c") # This is sequence of strings.
print (s.join( seq ))

目录

分类