Question: The Email _ log . txt file contains data for an email inbox. Each line includes an email address followed by a number that represents
The Emaillogtxt file contains data for an email inbox. Each line includes an email address followed by a number that represents the number of messages received from that address. Complete the program in labppy so that it records in the dictionary messagecount the total number of messages from each domain name not the whole address, just the part after the @ and before the space At the end of the program, print out the contents of your dictionary. The domains should be the keys of the dictionary, and the counts of the domains should be the values of the dictionary. For example, messagecountcharlotteedu' should be
emaillog.txt file contents:
itsc@charlotte.edu
margie@vtedu
cwen@northeastern.edu
antranig@charlotte.edu
kourycic@northeastern.edu
gsilver@charlotte.edu
david.horwitz@uct.acza
wagnermr@charlotte.edu
zqian@umich.edu
stephen.marquard@uct.acza
ray@vtedu
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
