运行下面的程序,结果是?( )
h=[-2,-1,0,1,2,3] n=len(h) s=0 for i in range(n): s=s+bool(h[i]) print(s)
复制链接后可在微信、QQ、小红书等平台粘贴分享;答案与解析在题目页。