Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Python help please a. Create a file called YOUR_NAME_EmailParse.py i. Define a variable string_two at the top of the file copying the string from the

image text in transcribed

Python help please

a. Create a file called "YOUR_NAME_EmailParse.py" i. Define a variable "string_two" at the top of the file copying the string from the screenshot below. two =111 mith@frcc.com; SARAH: sbarret@frcc.com; WILL: westes@gmail.com; doe@hotmail.net; MARK: mbethefrcc.com; JOHN: jadamseemail.net; ii. Create a dictionary from the string_two with the name (i.e. "JIM") as the key and the email (i.e. 'jsmith@frcc.com') as the value. iii. Display the dictionary iv. Using regular expressions or another method 1. Get the names (i.e. "JIM") in string_two with an email from "frcc.com" 2. Get the names in string_two that do not have an email from "frcc.com" 3. Get the names in string_two that contain ".com" 4. Get the names in string_two that do not contain ".com

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Concepts of Database Management

Authors: Philip J. Pratt, Joseph J. Adamski

7th edition

978-1111825911, 1111825912, 978-1133684374, 1133684378, 978-111182591

More Books

Students also viewed these Databases questions