Sign in to test your solution.
# Voting count program # ------------------------- # Subprograms # ------------------------- def count_votes(ballot): # ------------------------- # Main program # ------------------------- votes = ["A", "B", "B", "B", "B", "C", "C", "D", "A", "B", "A", "B", "A", "B", "D", "B", "C", "B", "B", "A"] print("Answer A:", result[0]) print("Answer B:", result[1]) print("Answer C:", result[2]) print("Answer D:", result[3])

  Python sandbox

This window allows you to run Python code without installing a thing. The code you write here is not automatically submitted to Dodona.

Test case being debugged