Skip to content

Instantly share code, notes, and snippets.

View saloni111's full-sized avatar

Saloni Gandhi saloni111

View GitHub Profile
@saloni111
saloni111 / solution.py
Created May 1, 2026 14:44
computePolkadotScore – Angelica ASCII art coding challenge
def computePolkadotScore(art: str) -> int:
"""
Counts polkadots (O characters) on Angelica's dress and applies
the lips-range multiplier formula.
Lips : the '~~~~~~' run that appears *below* the pupils line.
Pupils: the two '•' characters representing Angelica's pupils.
Formula:
score = outside_count + inside_count * num_pupil_chars