问答详情
源自:4-4 Python之for循环
sum=0.0是为啥
sum=0.0是为啥
提问者:weixin_慕函数5582609
2023-11-13 23:36
个回答
weixin_慕函数5582609
2023-11-13 23:40:00
sum=0.0是初始化,然后把for x in L把x带到L字符里,再然后sum=sum+x循环求和
0