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])

 

posted @ 2018-11-25 19:30  20181235  阅读(134)  评论(0编辑  收藏  举报