How to remove integer from string in python


Topic: How to remove integer from string in python

Solution

s = '12abcd405'
result = ''.join([i for i in s if not i.isdigit()])



List all Python Programs