Question: Python problem Write a function in the IDLE Shell window called show_content that will list all the contents of an arbitrary two-dimensional list in the
Python problem
Write a function in the IDLE Shell window called show_content that will list all the contents of an arbitrary two-dimensional list in the manner demonstrated below >>> gems = [ [ , ruby, , , garnet, ] , [' topaz, , , beryl, ] , [' emerald, ' jade','sapphire', ['pearl',opal', 'diamond'1 3 > show_content (gems) 4 list [0][0] = ruby s list [0] [1] garnet list [1] [0] list [ 1 ] [ 1 ] , -topaz beryl list [2] [0] list [2] [1] emerald jade 10 " 12 list [3] [0] sapphire 13 14 s list[4] [0] -pearl 16 list [4] [1] = opal 17 list [4] [2] -diamond
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
