Question: constructor python program to create and accept a two dimensional list of M elements with different data type. use this list as a database to
constructor python program to create and accept a two dimensional list of M elements with different data type.
use this list as a database to store 2 entries (rows) and the appropriate row by assuming some fields as primary key


[M4_CSQ3] Construct a python program to create and accept a two-dimensional list of M elements with different data types. Use this list as a database to store two entries (rows) and retrieve the appropriate row by assuming some field as primary key. [001] [L2] Sample workout as given below: Input: 2 //Number of lists 5 // length of list M ["John", "smith", 1234, "B+", 10.03] //actual list rowi l'Rockey", "JY", 6789, "A+", 40.03] \//actual ist row2 2 // index of the primary key 1234 // The information of the entity to be retrieved based on one of the primary key Output: ("John", "smith", 1234, "B-", 10.03) For example: Test Input Result 1 2 choon, smith, 1234, + 10.03] 5 Kismith 1284 MB 10.03 *Rockeytor 6789 FARM 40.00 12 1284 Test Input Expected x 1 I Crohn smith", 1234, "B+", 19.03] X *John'smith' 1234 8+4 10.03 *Rockey Jr.6789 Your code must pass all tests to earn any marks. Try again
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
