n = 10
list = [ 1, 5, 2, 3, 8, -9, 5, 6, 7, -10 ]
s = 0
i = 0
while list[ i ] > 0 and i <= n:
s += 1
i += 1
运行该程序后s的值为()
微信扫码预览、分享更方便