Answered step by step
Verified Expert Solution
Link Copied!

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

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

MySQL Crash Course A Hands On Introduction To Database Development

Authors: Rick Silva

1st Edition

1718503008, 978-1718503007

More Books

Students also viewed these Databases questions