[issue32127] tutorial on dictionaries has error in example
New submission from Toby Berla
tel = {'jack': 4098, 'sape': 4139} tel['guido'] = 4127 tel
{'sape': 4139, 'guido': 4127, 'jack': 4098}
I think the order of dictionary elements shown after 'guido' is inserted is wrong.
The correct order is:
{'jack': 4098, 'sape': 4139, 'guido': 4127}
----------
assignee: docs@python
components: Documentation
messages: 306913
nosy: docs@python, tberla
priority: normal
severity: normal
status: open
title: tutorial on dictionaries has error in example
versions: Python 3.6
_______________________________________
Python tracker
Eric V. Smith
Toby Berla
Eric V. Smith
participants (2)
-
Eric V. Smith
-
Toby Berla