Define a function that receives an sqlite database file name…
Define a function that receives an sqlite database file name and performs the following: Connect to the database file provided – assuming it exists as needed to do the rest of the items below. No need to account for cases where the file name provided is invalid. Read all the records of a table named mystery. Save those records into a list of dictionary type. The first field of the record is a string. That should be the key. The remaining values are three integers and should be added as the values of that key in a list of int. Close all connections. Return the dictionary list.
Read Details