第15093题 单选题
运行给定的Python程序,其输出结果是?
h=[-2,-1,0,1,2,3]
n=len(h)
s=0
for i in range(n):
    s=s+bool(h[i])
print(s)
A

0

B

1

C

5

D

6

程序运行统计
暂无判题统计