python .join()

    xiaoxiao2021-03-25  31

    参考:http://www.runoob.com/python/att-string-join.html

    返回将字符串按照指定字符进行连接后的新字符串。

    #!/usr/bin/python str = "-"; seq = ("a", "b", "c"); # 字符串序列 print str.join( seq );

    转载请注明原文地址: https://ju.6miu.com/read-27475.html

    最新回复(0)