Let's say I have the file named 'test.in' I need a PYTHON file to  - read the file - store the data into 4 variables: name, email, phone, location  - close the file

COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
1st Edition
ISBN:9780357392676
Author:FREUND, Steven
Publisher:FREUND, Steven
Chapter7: Creating Templates, Importing Data, And Working With Smartart, Images, And Screenshots
Section: Chapter Questions
Problem 8EYW
icon
Related questions
Question

Let's say I have the file named 'test.in'

I need a PYTHON file to 

- read the file

- store the data into 4 variables: name, email, phone, location 

- close the file

 

Name, Email
Sarah, abc@gmail.com
Phone
082950365
Location
New York
Transcribed Image Text:Name, Email Sarah, abc@gmail.com Phone 082950365 Location New York
Expert Solution
steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Knowledge Booster
File Input and Output Operations
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Recommended textbooks for you
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
Microsoft Windows 10 Comprehensive 2019
Microsoft Windows 10 Comprehensive 2019
Computer Science
ISBN:
9780357392607
Author:
FREUND
Publisher:
Cengage