human
Get the immediate minimum among a list of numbers in python
assistant
Here is some code to get the next value greatest to `2` from a list of numbers `num_list`

min([x for x in num_list if x > 2])

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