Computer Science, asked by ghimirerajesh38, 4 days ago

write a program that reads the contents of a text file. The program should create a dictionary in which the key-value pairs are described as follows:

Key. The keys are the individual words found in the file.
Values. Each value is a list that contains the line numbers in the file where the word (the key) is found.

Answers

Answered by piyushjangde3
0

Answer:

Piufu is a good idea place to live

Similar questions