标签:span pre 输出 nbsp code style col str1 int
l = ["hi","hello","world"] print(" ".join(l))
输出:
hi hello world
str1 = "hi hello world" print(str1.split(" "))
输出
[‘hi‘, ‘hello‘, ‘world‘]
标签:span pre 输出 nbsp code style col str1 int
原文地址:https://www.cnblogs.com/sea-stream/p/10463717.html