| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent fbd4f80 commit 0a90a82
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -292,7 +292,7 @@ which, in turn, is the same as:: | |||
| 292 | 292 | In the real world, you should prefer built-in functions to complex flow statements. | |
| 293 | 293 | The :func:`zip` function would do a great job for this use case:: | |
| 294 | 294 | ||
| 295 | - >>> zip(*matrix) | ||
| 295 | + >>> list(zip(*matrix)) | ||
| 296 | 296 | [(1, 5, 9), (2, 6, 10), (3, 7, 11), (4, 8, 12)] | |
| 297 | 297 | ||
| 298 | 298 | See :ref:`tut-unpacking-arguments` for details on the asterisk in this line. | |
| Back | FazBrowse Home | New Git URL |
0 commit comments