A shrine rule already knows how many seals a group of runes needs. Reuse it rather than writing that calculation again.
The supplied setup creates the temporary shrine_rules.py file and its seal_count function. Import the function after that setup, then call it from prepare_seals. In a local project, the module file would sit beside main.py.
Edit main.py, Run to check that nine runes need 3 seals, then Submit.
seal_count from shrine_rules after the supplied setup.prepare_seals(runes) to return the imported helper’s result.Use from shrine_rules import seal_count; then call seal_count(runes).