Commit 5da5572e authored by Siu, Pui Chung's avatar Siu, Pui Chung
Browse files

Add new file

parent 6bf872ee
def find_outlier(integers):
list = [int % 2 for int in integers]
if list.count(0) == 1:
return integers[list.index(0)]
else:
return integers[list.index(1)]
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment