Skip to content

Instantly share code, notes, and snippets.

View Issac-I-Hwang's full-sized avatar

Issac-I-Hwang

  • Joined Apr 28, 2026
View GitHub Profile
@Issac-I-Hwang
Issac-I-Hwang / issac.py
Created April 30, 2026 16:26
Solution to Avantos Coding Challenge
def computePolkadotScoreAngelica(ascii_art):
# Step 1: Identify lips row (the row that contains the sequence of ',' representing lips)
lips_row = None
lips_str = None
for row in ascii_art:
# Find a sequence of at least 5 ',' characters to identify lips
if ',,,,' in row:
lips_row = row
start_index = row.index(',,,')
# Extend lips_str to include all contiguous , characters