面试题答案一键面试nums = [1, 2, 3, 4, 5] result = '列表元素为:{}'.format(', '.join(str(i) for i in nums)) print(result)