Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The following text is an example of a fake payment receipt, scammers use to encourage recipients to engage. From: robert lor Subject: PAYMENT DONE
The following text is an example of a fake payment receipt, scammers use to encourage recipients to engage. From: robert lor Subject: PAYMENT DONE NYR7755269R Date: September 9, 2021 at 10:31:42 AM CDT To: consumer233@gmail.com OUR valued consumer, thank you for your purchase through NORTON this email that is to inform you your annual subscription with Norton is RENEWED. Here is an overview of your recent purchase :- PRODUCT INFO invoice no : NYR7755269R ORDER date : 09/09/2021 PAYMENT method: auto- debited VALUE - $321.67 to upgrade /cancel your subscription, PLEASE contact our customer service at +1 (810)-(515)-(7954) Thank you, Norton billing support a) Save the text to a file called emailSpam.txt", then compute and display the total number of lines: *23* and words: "91". b) Find and display the email subject and the number of the upper and lower cases in the subject text. c) Define a list that consists of 10 different email spam trigger words, such as RENEWED or purchase, then check whether any of these words exist in the body of the email. If the email contains a spam word, print it; otherwise, return a message that the email does not include any predefined spam words. d) Find and display the percentage of spam words found in the body of the email using the list of spam trigger words from part c.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started