Dec-07-2019, 07:50 PM
i just started learning python and following an online course
in the course there is this dictionary :
pairs = {1: "apple", "orange": [2, 3, 4], True: False, None: "True"}
when using print(pairs) i get this output
{1: False, 'orange': [2, 3, 4], None: 'True'}
why is that?
in the course there is this dictionary :
pairs = {1: "apple", "orange": [2, 3, 4], True: False, None: "True"}
when using print(pairs) i get this output
{1: False, 'orange': [2, 3, 4], None: 'True'}
why is that?