human
Python: find out whether a list of integers is coherent
assistant
Here is some code to check if elements in list `my_list` are coherent in order

return my_list == list(range(my_list[0], my_list[-1] + 1))

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