def unZip(master3):
c = len(master3)
sub1=''
sub2=''
for i in range(1,c,2):
sub1+=master3[i]
sub2+=master3[i+1]
print(sub1,",",sub2)
Python 3.4.3 出现错误:字符串索引超出范围
def unZip(master3):
c = len(master3)
sub1=''
sub2=''
for i in range(1,c,2):
sub1+=master3[i]
sub2+=master3[i+1]
print(sub1,",",sub2)
Python 3.4.3 出现错误:字符串索引超出范围