← 返回列表

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 ))

Python3 字符串String Join Sequence 方法

#!/usr/bin/python3

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

打开资源 ↗

交流与评论