在线名词解释大全
专业、全面、易懂的全领域名词百科
首页
>
Python程序设计
>
详细
18 Toadd0.01+0.02+...+1.00,whatordershouldyouusetoaddthenumberstogetbetteraccuracy?()
题型:单选题
选项
A.
add 0.01, 0.02, ..., 1.00 in this order to a sum variable whose initial value is 0.
B.
add 1.00, 0.99, 0.98, ..., 0.02, 0.01 in this order to a sum variable whose initial value is 0.
正确答案:A