You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From line 29 - 34 in PSET 2 plates.py s.index(character) will return the first occurrence of the character in the string if multiple same characters are present not the current index.
Instead using enumerate would return both the current index location and the character
Something like this would work for cases like AAA1A1 for index, character in enumerate(s):