if a list has a string remove

24

strings_with_substring = [string for string in strings if substring in string]

Comments

Submit
0 Comments