diff --git a/Python-Home-Challenges/app.py b/Python-Home-Challenges/app.py deleted file mode 100644 index b438fa2..0000000 --- a/Python-Home-Challenges/app.py +++ /dev/null @@ -1,10 +0,0 @@ -with open("./Python-Home-Challenges/Challenge_01.txt") as file: - fileArr = file.read().split() - words = {} - for word in fileArr: - if word in words: - words[word] += 1 - else: - words[word] = 1 - print(f'Most recurring word in that file: {max(words, key=words.get)}') - print(f'And it appears {words[max(words, key=words.get)]} times')