#-×-coding:utf-8-*- if _name_=='_main_': list=['html','js','css','python'] #方法1 print ‘遍历列表方法1’ for i in list: print ‘序号:%s 的值为%s:’ %(list.index(i)+1,i) #方法2 print'遍历列表方法2' for i in range(len(list)): print '序号:{}的值为{}'.format(i+1,list[i]) #方法3 print…