Answer:
Python file with appropriate comments given below
Explanation:
#Take the input file name
filename=input('Enter the input file name: ')
#Open the input file
inputFile = open(filename,"r+")
#Define the dictionary.
list={}
#Read and split the file using for loop
for word in inputFile.read().split():
#Check the word to be or not in file.
if word not in list:
list[word] = 1
#increment by 1
else:
list[word] += 1
#Close the file.
inputFile.close();
#print a line
print();
#The word are sorted as per their ASCII value.
fori in sorted(list):
#print the unique words and their
#frequencies in alphabetical order.
print("{0} {1} ".format(i, list[i]));
Answer:
Step 1: From the desktop or from your 'Start' menu, open Microsoft Word. Step 2: Click either File or the Office button at the top left. Select Open and browse to the document you wish to open. Double-click on it with your left-hand mouse button to open it.
Explanation:
PLZ MARK AS THE BRAINLIEST
HAVE A GOOD DAY
: )
The correct answer is "It will be highlighted in the text and seen in the right margin."
Comments are known as notes or annotations that gives an author or editor an idea about a common mistake in his or her work. In other words, comments are used to give a heads up to the creator of a specific document.
Answer:
10 or 22 or 15 or 40
Explanation:
In the second for loop[for (int k = 1; k < arr[0].length; k++)], k starts from 1 instead of zero. That means that it doesn't read the first value of every row when finding num.
So if num was any of the above values, the program wouldn't work. I had the same question, and the answer for mine was 15.
Answer:
D, document and explain parts of code
Explanation:
Mark me brainliest :)