What is meant by a dictionary in python


Problem

a) What is meant by a dictionary in Python? And why are they useful?

b) Create a Python program that asks a user for a gene ID or accession number and returns the sequence that corresponds to that gene. Use a dictionary to accomplish this. Get the genes and their sequences from NCBI (or just create some dummy sequences) and create the dictionary so that the key = gene ID and value = sequence. To make this simpler and easier to view, keep the sequences short. Handle the case where the gene ID is not found in the dictionary. Snap shot your command and output.

Request for Solution File

Ask an Expert for Answer!!
Python Programming: What is meant by a dictionary in python
Reference No:- TGS03293494

Expected delivery within 24 Hours