@ -1,7 +1,4 @@
def countstring(character, filepath):
myfile = open(filepath)
with open("fruits.txt") as myfile:
content = myfile.read()
myfile.close()
return(content.count(character))
print(countstring("a", "fruits.txt"))
print(content)
The note is not visible to the blocked user.