<human>:  from list of integers, get number closest to a given value
<bot>: Here is some code to get number in list `myList` closest in value to number `myNumber`

min(myList, key=lambda x: abs(x - myNumber))

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.