Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
blueloveTH committed Aug 25, 2023
1 parent 4251b95 commit 6f5679f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/_posts/python.md
Original file line number Diff line number Diff line change
Expand Up @@ -980,6 +980,7 @@ for i in range(4, 10, 2):
```python
words = ['Mon', 'Tue', 'Wed']
nums = [1, 2, 3]

# Use zip to pack two iterables
for w, n in zip(words, nums):
print(f"{n}:{w}", end=", ")
Expand Down

0 comments on commit 6f5679f

Please sign in to comment.