7 lines
179 B
Python
7 lines
179 B
Python
def findOdd(numbers: list[int]) -> int:
|
|
for number in numbers:
|
|
if numbers.count(number) % 2 != 0:
|
|
return number
|
|
return 69
|
|
|
|
print(findOdd([1,1,2,3,2]))
|