Robert_114 0 Newbie Poster

Python 3 programing, Plurality voting.

Help Please!!!

I need the code for this type of voting method in python 3. I attached the csv file, also the name of the csv file is heroes.csv.

https://drive.google.com/file/d/1ObV7L9FVM-Bdek26YTzS8IzHKQsZx-rT/view?usp=sharing

Plurality voting

This is the conventional one person, one vote method we use today in most elections. In this case, the winner of the election is the candidate that gets the most votes. To implement this method using our data, you need to count only the top-ranked hero for each survey entry (the one with a ranking of 1) and add up

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.