sequence = raw_input('Enter your sequence')
comp='ACGT'
i=0
l=0
m=len(sequence)
for i in range(0,len(sequence)):
n=0
for n in range(0,len(comp)):
if sequence[i] != comp[n]:
base.append(i)
base[i]=comp[n]
y=0
for y in range(0,len(sequence)):
if i!=y:
base.append(y)
base[y]= sequence[y]
l=l+1
t=m-1
o=m*4
z=l%t
if z==0:
print(base)
问题
' A',' C'' G',0,1,2
答案 0 :(得分:1)