Closed
Description
The result shown in Modifying a dictionary while iterating over it is correct for CPython 2.4 up to 3.5.
On Python 3.6 it prints
0
1
2
3
4
On PyPy 2.7 and PyPy 3 it prints
0
The result shown in Modifying a dictionary while iterating over it is correct for CPython 2.4 up to 3.5.
On Python 3.6 it prints
0
1
2
3
4
On PyPy 2.7 and PyPy 3 it prints
0