![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 19.08.2021 21:00 adenmoye0910
1. Use three counter variables named counter_com, counter_edu and counter_org to keep track of how many of each you find. Declare these just under the comment with your name/date at the top of the file.
2. Write a program that opens mbox. txt, reads through the file, and finds lines that contain e-mail addresses ending in .com, .edu and .org. Use .find() to identify lines where one of these exist.
3. Define an output file towards the top of your code-named "emails_output. txt" (just do this as the next line after you open the mbox. txt file). Any time you find() a line in mbox. txt that has the .com, .edu, or .org email address in it, increment the proper counter and write the entire line to your emails_output. txt file.
4. Once you have finished reading through the mbox. txt file, print your counter totals.
![ansver](/tpl/images/cats/User.png)
Answers: 1
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 02:00
For a typical middle-income family, what is the estimated cost of raising a child to the age of 18? $145,500 $245,340 $304,340 $455,500
Answers: 1
![question](/tpl/images/cats/informatica.png)
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 10:30
You're programming an infinite loop. what must you include in your code to prevent crashes? in roblox
Answers: 2
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 13:00
Why should you evaluate trends when thinking about a career path?
Answers: 1
You know the right answer?
1. Use three counter variables named counter_com, counter_edu and counter_org to keep track of how m...
Questions
![question](/tpl/images/cats/mat.png)
Mathematics, 02.06.2020 00:01
![question](/tpl/images/cats/mat.png)
Mathematics, 02.06.2020 00:01
![question](/tpl/images/cats/mat.png)
Mathematics, 02.06.2020 00:01
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 02.06.2020 00:01
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 02.06.2020 00:01
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 02.06.2020 00:01
![question](/tpl/images/cats/en.png)
English, 02.06.2020 00:01
![question](/tpl/images/cats/fizika.png)
Physics, 02.06.2020 00:01
![question](/tpl/images/cats/istoriya.png)
History, 02.06.2020 00:01
![question](/tpl/images/cats/mat.png)
Mathematics, 02.06.2020 00:01
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/istoriya.png)
History, 02.06.2020 00:01
![question](/tpl/images/cats/mat.png)
Mathematics, 02.06.2020 00:01
![question](/tpl/images/cats/mat.png)
Mathematics, 02.06.2020 00:01
![question](/tpl/images/cats/istoriya.png)
History, 02.06.2020 00:01
![question](/tpl/images/cats/mat.png)
Mathematics, 02.06.2020 00:01