Add D'Hondt calculator: This script can be used to get the alocated seats from the results of an election by javi0martinez · Pull Request #515 · wasmerio/Python-Scripts

and others added 7 commits

November 19, 2025 23:00
Introduces the main.py file with a function for positive integer input validation and creates a placeholder readme.md for documentation.
Introduced a new function `calculate_dhondt_seats` in utils.py to compute seat allocation using the D'Hondt method. Updated main.py to use this function and print the seat allocation results. Refactored imports for clarity.