Question: in python The information in DNA Is coded in chemical bases adenosine (A) guanine (G) cytosine (C), and thymine (T) We can represent a DNA
The information in DNA Is coded in chemical bases adenosine (A) guanine (G) cytosine (C), and thymine (T) We can represent a DNA strand by stringing together the letters representing the appropriate strand. Imagine we are given a list of DNA strands which have arbitrary lengths. Write a single function strand_counter() which takes a list of DNA strands, counts the lengths of each of the words in the list and then calculates and returns the integer maximum_length integer minimum_length, and float average_length Then write a program which takes in a user-chosen number of strands of arbitrary length as an input and prints out the calculated information Example input 5 AT ATCGTCOGGT TCGCT TCGATTCCT TTCATCG Example output The longest strand has length 10. The shortest strand has length 2. The average length of the strands is 6.6. 2017112 LAB ACTIVITY 7.14.1 Breakout Room Activities 0/3 main.py Load default template 1 de strand counter input list) 4 none
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
