Python Forum
an array to count votes
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
an array to count votes
#1
i need to make a code that counts the votes from 3 candidates from 4 different places, each person from those places can vote only once. the code has to be able to:
-receive every vote and add it to the votes of the candidate
-inform about the votes obtained by each candidate
-inform about the total votes obtained between all candidates
-inform about the winner

i´ve been struggling with this for a couple days now Wall , the thing is i have to use a bidimensional array wich im unfamiliar with. i would appreciate any help, from now thanks.

also english is my second language, sorry for possible misswriting. Heart Heart
Reply


Messages In This Thread
an array to count votes - by thechungusmaximus - Mar-09-2022, 01:56 AM
RE: an array to count votes - by Yoriz - Mar-09-2022, 06:30 AM
RE: an array to count votes - by DeaD_EyE - Mar-09-2022, 03:44 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Count Letters in a Sentence (without using the Count Function) bhill 3 5,291 Jun-19-2018, 02:52 AM
Last Post: bhill

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020