12. Count zeros
You are not logged in.
Log in
Input
Goal output
Your output
✅
[]
0
0
✅
[0]
1
1
❌
[0,0,0]
3
1
✅
[1,2,3]
0
0
❌
[0,1,0,2,0]
3
1
❌
[1,0,5,0,3,0,7,0,9]
4
0
❌
[-3,0,0,7,5]
2
0
Some tests failed