Removing letters from a list of both numbers and letters,sum(int(c) for c in strs if c.isdigit())