0
Strange change in the output
The code: https://www.sololearn.com/en/compiler-playground/cmqaTR3LvPJd The output: {(1, 2): 'list', 'value': 'one'} dict_keys([(1, 2), 'value']) dict_values(['list', 'one']) dict_items([((1, 2), 'list'), ('value', 'one')]) Where did dict_ come from? I expected to see the variable name instead.
2 Respostas
+ 3
these are the object types.
+ 1
There was no mention of them in the lesson about dictionaries.