This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from math import floor | |
# ⚖️ The necessary DISCLAIMER | |
# This Python script is provided for demonstration purposes | |
# only, as a personal educational tool to understand how the partylist | |
# seats are allocated (based on the BANAT vs. Comelec case (G.R. No. 179271). | |
# The results produced by this script are not authoritative | |
# and does not represent the official results that will be published | |
# by the Philippine Commission on Elections' National Board of Canvassers. |