0
Hi everyone
lst1=["a","b","c","d"] lst2=["c","d","e","f"] for e,i in range zip((0,lst1),(0,lst2)): print(lst1[e]+lst2[i] , end="") is there a way to use the range () and the zip() functions at the same time?
1 ответ
+ 2
You could just use zip, there is no need to use range at all..
for e, i in zip(lst1, lst2):
print(e + i, end="")
Hope this helps...