human
How to eliminate all strings from a list
assistant
Here is some code to eliminate all strings from list `lst`

[element for element in lst if isinstance(element, int)]

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