Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c9928cc

Browse files
committed
fix syntax
1 parent 3d891b6 commit c9928cc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/functions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ are always available. They are listed here in alphabetical order.
289289
:func:`enumerate` is useful for obtaining an indexed series: ``(0, seq[0])``,
290290
``(1, seq[1])``, ``(2, seq[2])``, .... For example:
291291

292-
>>> for i, season in enumerate(['Spring', 'Summer', 'Fall', 'Winter')]:
292+
>>> for i, season in enumerate(['Spring', 'Summer', 'Fall', 'Winter']):
293293
... print(i, season)
294294
0 Spring
295295
1 Summer

0 commit comments

Comments
 (0)