Question: 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!