We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 331a516 commit b2d0630Copy full SHA for b2d0630
lab-12/occurance-remover.py
@@ -1,4 +1,5 @@
1
import os
2
+
3
def occurance_remover(file_path, removal_string):
4
occurances = open(file_path, "r").read().count(removal_string)
5
# Read in the file
0 commit comments