📜  列表成字符串 python 代码示例

📅  最后修改于: 2022-03-11 14:47:04.404000             🧑  作者: Mango

代码示例6
def list_to_string_join(list) -> str:
    return " ".join(list)
    
the_list = ["This", "is", "a", "list"]
print(list_to_string_join(the_list))