diff --git a/cse16259_e3_1.py b/cse16259_e3_1.py deleted file mode 100644 index 85d80c2c552a58e167e46f3e8e6db4334141e9ac..0000000000000000000000000000000000000000 --- a/cse16259_e3_1.py +++ /dev/null @@ -1,18 +0,0 @@ -fname = input("Enter the name of the file:") -infile=open(fname,'a') -infile.write("append the sentences:") -infile = open(fname, 'r') -wordcount={} -lines = 0 -for word in infile.read().split(): - if word not in wordcount: - wordcount[word] = 1 - else: - wordcount[word] += 1 -print (word,wordcount) -infile.close(); - - - - -