list1=[1,2,3,4,5] list2=[2,3,4] for i,j in zip(list1,list2): print('list1---%s'%i) print('list2---%s'%j) tuple1=(1,2,3,4,5) tuple2=(1,2,3) for i,j in zip(tuple1,tuple2): print('tuple1---%s'%i) print('tuple2---%s'%j) str1='1234' str2='12345' for i,j in zip(str1,str2): print('str1---%s'%i) print('str2---%s'%j)