Skip to content

Instantly share code, notes, and snippets.

View hartror's full-sized avatar
📝

Rory Hart hartror

📝
View GitHub Profile
def double(i):
return i*2
def increment(i):
if i=='broken':
return None
return i+1
def flatten(listOfOptions):
return reduce(list.__add__, listOfOptions)