Python 函数两个列表对应相乘code•2022-4-25•python•阅读66#两个列表中的元素对应相乘, list1=[1,2,3] list2=[3,4,5] list3=[] for i in range(0,len(list1)): t=list1[i]*list2[i] list3.insert(i,t) print('list3=',list3) list3= [3, 8, 15]欢迎分享,转载请注明来源:内存溢出原文地址:https://54852.com/langs/718007.html赞 (0)打赏 微信扫一扫 支付宝扫一扫 code管理员组00 生成海报 Could not open requirements file: [Errno 2] No such file or directory: ‘requirements.txt‘报错解决办法上一篇 2022-04-25【菜gou的CS61A学习笔记10 Abstraction & Trees】 下一篇2022-04-25 发表评论 请登录后评论... 登录后才能评论 提交评论列表(0条)
评论列表(0条)