Menu

[Solved]-Python Write Program 2d Array Represents Items Bookcase First Item Row Left Right Stored F Q37285769

IN PYTHON

  1. Write a program that has a 2D array which represents items in abookcase. The first item in that row (left to right) will be storedin the first value in that array. You may place any number ofitems, in any order you choose, and have any number of rows anditems. Make sure that this array uses the data type string and thateach value is the name of the item at that position. Then look forthe item (wallet, safe, maybe even book) where you hid some of yourmoney and print out its position. If you didn’t hide any money inthat bookshelf it should print out a message saying so. Assume thatyou know the name of the item where the money is hidden.

Sample output:

First row/shelf: “Bob’s mallet” “ABilly Joel CD” “A Justin Bieber CD” “A Bloc Party CD”

Second row/shelf: “My Xbox” “Halo 3”“Crackdown” “Borderlands”

I hid my money in “Halo 3” which is the 2nd item on the 2ndrow.       

Expert Answer


Answer to IN PYTHON Write a program that has a 2D array which represents items in a bookcase. The first item in that row (left to … . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *