a = [1, 3, 5, 8] sum = "" for aa in a: sum += (str(aa) + " ") print(sum) 转载于:https://www.cnblogs.com/aixiao07/p/11197742.html