Question: Write Python Code. A scientic lab in Tamil Nadu is performing some research on the mutations of the DNA. Write a user-defined function using Python

 Write Python Code. A scientic lab in Tamil Nadu is performing

Write Python Code.

A scientic lab in Tamil Nadu is performing some research on the mutations of the DNA. Write a user-defined function using Python that takes 2 string arguments corresponding to original DNA and new DNA sequence. The function must compare each component in the same position of the two DNA. If the count of differences is greater than 3 then return "mutation" else return "same". Note: Assume both the DNA sequences are of same length, The DNA can take values 'A', 'G', 'C', 'T' only Sample: Input: AACCGGTA - original DNA ACACAGTT - new DNA Output: mutation 4 positions have different values

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!