Suppose you have the list: ['dog', 'pencil', 'fence', 'dog', 'apple', 'dog', 'dog', 'dog', 'pear', 'pencil', 'pear', 'pear'] using a dictionary, compute the numbers of times each word occurs.
Answers
Answered by
0
Word___ frequency
Apple___1
Dog___5
Fence___1
Pear___3
Pencil___2
Answered by
0
apple come 1 time ,dog come 5 times ,fence come 1 time ,pear comes 3 times, pencil come 2 time.
Similar questions
English,
7 months ago
Hindi,
7 months ago
Physics,
1 year ago
Computer Science,
1 year ago
Environmental Sciences,
1 year ago