human
Delete all objects in a list
assistant
Here is some code to delete all values in a list `mylist`

del mylist[:]

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