13
Last seen 8 months ago
Member for 3 years, 26 days
Difficulty Normal
Liked
a comment created by Phil15
for
forum post "Got TypeError: 'set' object is not subscriptable"
`pawns[i] == paw1 or paw2` is like `(pawns[i] == paw1) or paw2` so I think it's not what you wanted
Created a forum post "Got TypeError: 'set' object is not subscriptable"
My code seems like this:
def safe_pawns(pawns: set) -> int:
count = 0
var = ''