Registrations Closing Soon for DevOps Certification Training by CloudxLab | Registrations Closing in

  Enroll Now

Python Project - Churn Emails - Count Number of Messages From Each Email Address

Write a function count_message_from_email which reads the file /cxldata/datasets/project/mbox-short.txt.

This function builds a histogram using a dictionary to count how many messages have come from each email address and returns the dictionary.


If your logic is correct then your function should return a dictionary like the following:

{'': 2, '': 3, '': 4, '': 2, '': 5, '': 3, '': 1, '': 1, '': 1, '': 4, '': 1}

You can use "Hint" and "See Answer" if you are stuck.

No hints are availble for this assesment

Answer is not availble for this assesment

Note - Having trouble with the assessment engine? Follow the steps listed here

Loading comments...