Answered step by step
Verified Expert Solution
Question
1 Approved Answer
PYTHON b. Write a program that does the following i. Define a 2D list called library with the following values The Great Gatsby | Harry
PYTHON
b. Write a program that does the following
i. Define a 2D list called library with the following values
The Great Gatsby | Harry Potter | Twilight | Dune
Golf for Dummies | Python for Dummies | Birds for Dummies | Dummies for Dummies
Biology 101 | Geometry 101 | Writing 101 | Life 101
ii. Get the user to input a book title
iii. Search the 2D list for the book title
iv. Display the location (row index and column index) of the book
1. For example, The Great Gatsby is in row 0 column 0.
v. If the book is not found, display Book not found
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