tA=[]
tC=[]
tG=[]
tT=[]
i=0
#this is the specific part of my script, A, T, G % C are 4 lists that consists from 10 indexes, each of which is a different number
for i in range(11):
A1=A[i]*3/100
C1=C[i]*3/100
G1=G[i]*3/100
T1=T[i]*3/100
tA.append(A1)
tC.append(C1)
tG.append(G1)
tT.append(T1)
i=i+1
我得到的错误是:
list index out of range
对于这一行:
A1=A[i]*3/100
我知道我为什么得到它,我只是不知道如何解决这个问题。帮助?