使用join 函數將數據轉換成字符串:. test = [“hello”, “world”, “yoyo”] print("_".join(test)). 結果:. hello_world_yoyo.
確定! 回上一頁