DEV Community

Discussion on: Coding Puzzles: Week of 4/8

Collapse
 
aspittel profile image
Ali Spittel
def stray(arr):
    for item in arr:
        if arr.count(item) == 1:
            return item