Name, Price, Quantity, Storage, Colour iPhone 11, 849, 32, 64gb, yellow iPhone SE, 969, 19, 256gb, starlight iPhone 12, 1199, 10, 64gb, black iPhone 12, 1199, 15, 128gb, red iPhone 13, 1349, 8, 256gb, green iPhone 13, 1349, 5, 512gb, midnight MacBook Air, 1499, 25, 256gb, space grey MacBook Air, 1849, 9, 512gb, silver MacBook Pro, 1899, 29, 256gb, space grey MacBook Pro, 2199, 13, 512gb, silver iPad Air, 929, 46, 64gb, space grey iPad Pro, 1649, 51, 512gb, silver Samsung Galaxy S22 Ultra, 1999, 19, 256gb, phantom black Samsung Galaxy S20 FE, 799, 33, cloud navy Samsung Galaxy Z Fold3, 2649, 12, 512gb, black Hey there. So the data above is stored in a file. I want. program which will let the user view a certain line. For example: if the user wants to only view the iphone SE line, what python programming would I use? I want a python program which can let the user input what they want to see. If the user enters "iPhone SE", the program will print the iPhone SE line. I want a python program which can do that.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

@@

Name, Price, Quantity, Storage, Colour
iPhone 11, 849, 32, 64gb, yellow
iPhone SE, 969, 19, 256gb, starlight
iPhone 12, 1199, 10, 64gb, black
iPhone 12, 1199, 15, 128gb, red
iPhone 13, 1349, 8, 256gb, green
iPhone 13, 1349, 5, 512gb, midnight
MacBook Air, 1499, 25, 256gb, space grey
MacBook Air, 1849, 9, 512gb, silver
MacBook Pro, 1899, 29, 256gb, space grey
MacBook Pro, 2199, 13, 512gb, silver
iPad Air, 929, 46, 64gb, space grey
512gb, silver
iPad Pro, 1649,
Samsung Galaxy S22 Ultra, 1999, 19, 256gb, phantom black
Samsung Galaxy S20 FE, 799, 33, cloud navy
Samsung Galaxy Z Fold3, 2649, 12, 512gb, black
Hey there. So the data above is stored in a file. I want. program which will let the user view a certain
line. For example: if the user wants to only view the iphone SE line, what python programming would I
use? I want a python program which can let the user input what they want to see. If the user enters
"iPhone SE", the program will print the iPhone SE line. I want a python program which can do that.
Transcribed Image Text:Name, Price, Quantity, Storage, Colour iPhone 11, 849, 32, 64gb, yellow iPhone SE, 969, 19, 256gb, starlight iPhone 12, 1199, 10, 64gb, black iPhone 12, 1199, 15, 128gb, red iPhone 13, 1349, 8, 256gb, green iPhone 13, 1349, 5, 512gb, midnight MacBook Air, 1499, 25, 256gb, space grey MacBook Air, 1849, 9, 512gb, silver MacBook Pro, 1899, 29, 256gb, space grey MacBook Pro, 2199, 13, 512gb, silver iPad Air, 929, 46, 64gb, space grey 512gb, silver iPad Pro, 1649, Samsung Galaxy S22 Ultra, 1999, 19, 256gb, phantom black Samsung Galaxy S20 FE, 799, 33, cloud navy Samsung Galaxy Z Fold3, 2649, 12, 512gb, black Hey there. So the data above is stored in a file. I want. program which will let the user view a certain line. For example: if the user wants to only view the iphone SE line, what python programming would I use? I want a python program which can let the user input what they want to see. If the user enters "iPhone SE", the program will print the iPhone SE line. I want a python program which can do that.
Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Types of Storage Devices
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.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education