From 3b59e96d3ec21744260228e7bff7dade54ddebd9 Mon Sep 17 00:00:00 2001 From: Barak Merdler <39872010+BarakMerdler@users.noreply.github.com> Date: Fri, 29 Nov 2019 13:40:05 +0200 Subject: [PATCH] Delete app.py only want on this PR .travis.yml --- Python-Home-Challenges/app.py | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 Python-Home-Challenges/app.py 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')