from itertools import filterfalse digits = "0123456789".__contains__ remove_numbers=lambda x:''.join(filterfalse(digits, x))
- from itertools import filterfalse
- digits = "0123456789".__contains__
remove_numbers=lambda x:''.join(map(lambda x: x if not digits(x) else "", x))- remove_numbers=lambda x:''.join(filterfalse(digits, x))