human
How to eliminate all strings from a list
assistant
Here is some code to get all the elements except strings from the list 'lst'.

[element for element in lst if not isinstance(element, str)]

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