Question: Write a program that performs the following tasks: 1. Asks the user for the number of DNA sequences to enter, retrieves that many sequences from

 Write a program that performs the following tasks: 1. Asks the

Write a program that performs the following tasks: 1. Asks the user for the number of DNA sequences to enter, retrieves that many sequences from the keyboard and saves them in a list. 2. Using the list of sequences from problem 1, the program finds and prints to the screen the shortest sequence in the list. 3. Using the list of sequences from problem 1, the program calculates and prints to the screen the number of valid sequences, i.e. sequences that contains just the letters A, C, G, T. For example, if the list contains ['ACAGTAT', 'CGTD', 'AGGTGAAA'l, the program will print 2

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!