"from list of integers, get number closest to a given value","min(myList, key=lambda x: abs(x - myNumber))"