Comptage de votes (vote-counting - medium puzzle)

Hi there,

I can’t understand what happen,
all the tests pass,
but during submit, the last one failed…

It does not matter a lot, except that i can’t sleep anymore :smiley:

if anybody has a clue ?

A post was merged into an existing topic: [Community puzzles] Vote counting