python-CSD-kursu/python-temel/zip.function.py

7 lines
118 B
Python

a = [1, 2, 3, 4, 5]
b = ['ali', 'veli', 'selami', 'ayşe', 'fatma']
result = zip(a, b)
for t in result:
print(t)