Python

def find_outlier(integers): a= sum(map(int,[integers[0]%2,integers[1]%2,integers[2]%2])) if a == 0 or a== 1: for i in integers: if i % 2 == 1: return i else: for i in integers: if i % 2 == 0: return i

We're a place where coders share, stay up-to-date and grow their careers.

We strive for transparency and don't collect excess data.

## re: Daily Challenge #35 - Find the Outlier VIEW POST

FULL DISCUSSIONPython