-
-
Notifications
You must be signed in to change notification settings - Fork 404
Open
Description
Hi, I'd like to propose adding a new Python script to the repository: a calculator for the D'Hondt method, which is used in proportional representation electoral systems to allocate seats based on votes.
Script Description
- Purpose: The script will take a list of parties with their total votes and the number of available seats, then compute the seat distribution using the D'Hondt algorithm.
- I/O: Via CLI (parsing the input to get the electoral results and printing the output to the console)
This script fits well with in this repository as an automation script and it could be useful for educational purposes.
Metadata
Metadata
Assignees
Labels
No labels