Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 284529d + 65b4b40 commit a3f862eCopy full SHA for a3f862e
1 file changed
Doc/tutorial/inputoutput.rst
@@ -184,7 +184,7 @@ square brackets ``'[]'`` to access the keys ::
184
185
>>> table = {'Sjoerd': 4127, 'Jack': 4098, 'Dcab': 8637678}
186
>>> print('Jack: {0[Jack]:d}; Sjoerd: {0[Sjoerd]:d}; '
187
- 'Dcab: {0[Dcab]:d}'.format(table))
+ ... 'Dcab: {0[Dcab]:d}'.format(table))
188
Jack: 4098; Sjoerd: 4127; Dcab: 8637678
189
190
This could also be done by passing the table as keyword arguments with the '**'
0 commit comments