can someone help me with the code? How to search in a text file for any word and count how much it has been repeated?
For example test.txt:
hi hola hey hi bye hoola hi
And if I want to know how many times the word "Hello" is repeated in test.txt, the program should say "3 times repeated"
I hope you understand what I want, thanks for the answers.
user1768236
source share