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
| 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 |