You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
I would like to take up this issue.
I plan to implement a Python script for the D’Hondt Method Calculator that calculates seat distribution based on votes.
I will include test cases and provide a clear example in the PR for easy verification.
Activity
github-actions commentedon Nov 20, 2025
Thank you for raising this issue! Our team will review it soon.
For more queries or discussions or approval of requests, please join the Discord server for further discussion: Discord Link
AryaBhatt45 commentedon Dec 1, 2025
I would like to take up this issue.
I plan to implement a Python script for the D’Hondt Method Calculator that calculates seat distribution based on votes.
I will include test cases and provide a clear example in the PR for easy verification.