python——list小练习
题目要求1假如有这样的列表:names=['fentiao','fendai','fensi','apple']输出结果为:'I have fentiao, fendai, fensi and apple.'代码示例names=['fentiao','fendai','fensi','apple']print('I have'+','.join(names[:-1])+' and '+names[-1]+'.')输出结果:...