How to?

zip

Mar 8, 2024
langspython
1 Minutes
29 Words
This article was last updated on May 27, 2026 and some of the information may no longer be applicable due to the passage of time.
1
>>> a = [1, 2, 3]
2
>>> b = [100, 200, 300]
3
>>> for i, j in zip(a, b):
4
... print(i, j)
5
...
6
1 100
7
2 200
8
3 300
Article title:zip
Article author:Julyfun
Release time:Mar 8, 2024
Copyright 2026
Sitemap