Skip to content

Instantly share code, notes, and snippets.

View tanaya09's full-sized avatar
🎯
Focusing

Tanaya Pawar tanaya09

🎯
Focusing
View GitHub Profile
def computePolkadotScore(art: str) -> int:
lines = art.split('\n')
# Lips are on line 5 - find the opening and closing parens
# e.g. ('''''' ®'''''''')
lips_line = lines[5]
lips_start = lips_line.index('(')
lips_end = lips_line.index(')')
# Pupils are the two • chars on line 10