human
Removing letters from a list of both numbers and letters
assistant
Here is some code to get only digits from a string `strs`

"""""".join([c for c in strs if c.isdigit()])

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