So I was trying to complete this kata on code wars and I ran across an interesting solution. The kata states:

"Given an array of integers, find the one that appears an odd number of times.
There will always be only one integer that appears an odd number of times."

and one of the solutions for it was:

```
def find_it(seq):
    return [x for x in seq if seq.count(x) % 2][0]

```

My question is why is there [0] at the end of the statement. I tried playing around with it and putting [1] instead and when testing, it passed some tests but not others with no obvious pattern.

Any explanation will be greatly appreciated.