I\'m trying to delete a specific line that contains a specific string.
I\'ve a file called numbers.txt with the following content:
change the line:
if not "tom" in line:
to:
if "tom" != line.strip():