Steven D'Aprano added the comment:
> I still can not figure out why the first two elements are inconsistent
from the rest of the dictionary, and why they appear in the first place.
Hi Tobias,
This is a bug tracker for reporting bugs in Python, not a help desk to ask for
explanations. The beh
New submission from TobiasHT :
I was creating a dictionary when I noticed something weird.
I had a function responsible for creating dictionary keys and then values were
assigned to the keys in a for loop.
The code goes a little like this:
>>> def key_maker(n):
... if (n % 2) == 0:
...