fork download
  1. samples = ["expression123", "123expression", "exp123ression", "1235234567544", "100", "-1.0"]
  2.  
  3. filtered = [item for item in samples if not item.isdigit()]
  4. print(filtered)
Success #stdin #stdout 0.03s 9680KB
stdin
Standard input is empty
stdout
['expression123', '123expression', 'exp123ression', '-1.0']