软件测试基础homework2

1.for循环里的i>0应该改为i>=0
test1:x=[3,2,5];y=2
test2:x=[3];y=2
test3:x=[2,3,5];y=4

2.for循环里的i应该倒序
test1:x=[2,0,2]
test2:x=[0]
test3:x=[]

原文地址:https://www.cnblogs.com/eraserNut/p/5256287.html