思路:寻找序列两个序列的差异
s = 'GAGCCTACTAACGGGAT'
t = 'CATCGTAATGACGGCCT'
count = 0
for i in range(len(s)):
if s[i] != t[i]:
count +=1
print (count)
思路:寻找序列两个序列的差异
s = 'GAGCCTACTAACGGGAT'
t = 'CATCGTAATGACGGCCT'
count = 0
for i in range(len(s)):
if s[i] != t[i]:
count +=1
print (count)