1. 程式人生 > >li = [2,3,4,5,'alex',[2,3,4,5,'taibai'],'afds']

li = [2,3,4,5,'alex',[2,3,4,5,'taibai'],'afds']

li = [2,3,4,5,'alex',[2,3,4,5,'taibai'],'afds']將他逐行列印
li = [2,3,4,5,'alex',[2,3,4,5,'taibai'],'afds']
num = 0
while num == 0:
    for i in range(len(li)):
        if type(li[i]) == list:
            for j in li[i]:
                print(j)
        else:print(li[i])