The Tool Library has code you can reuse. Python's standard library includes math, a module of mathematical tools. import math makes the name math available; the dot in math.ceil(...) selects its ceil function.
ceil rounds up. Each beacon holds four sparks, so eleven sparks need three beacons even though the third is only partly full.
Change the final call in main.py from 8 to 11. Run should change from 2 to 3, then Submit.
beacons_needed call to use 11 sparks.Change the number in the bottom call, not the divisor.