您可以改用列表推导或生成器表达式: ', '.join([str(x) for x in list]) # list comprehension ' ... 在对象数组而不是字符串数组上的Python string.join(list) ...
確定! 回上一頁