drop all numbers from list after a certain number code example
Example: remove all integers from list python
no_integers = [x for x in mylist if not isinstance(x, int)]
no_integers = [x for x in mylist if not isinstance(x, int)]