zip function 1

This commit is contained in:
Mert Gör 🇹🇷 2023-06-12 15:16:15 +03:00
parent 8f1f8f4ea1
commit ac452f2a02
No known key found for this signature in database
GPG key ID: 2100A876D55B39B9

View file

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