0
Anyone knows why output key 1: is not 'apple'
pairs = {1: "apple", "orange": [2, 3, 4], True: False, None: "True", } print(pairs) Output: {1: False, 'orange': [2, 3, 4], None: 'True'}
1 Respuesta
+ 4
maybe because True: False evaluate to 1: False, replacing 1: "Apple" that come before