{' ' ' ' ' ' keys( values(list( [' '' '' 'list( [ views maintain same order as dictionary del [' ' {' ' ' ' change the dictionary in place list( [' '' 'list( [ reflected in any current view objects not true in xlists detached from dict dictionary views and sets also unlike ' list results ' view objects returned by the keys method are setlike and support common set operations such as intersection and unionvalues views are not set-likebut items results are if their (keyvaluepairs are unique and hashable (immutablegiven that sets behave much like valueless dictionaries (and may even be coded in curly braces like dictionaries in and )this is logical symmetry per set items are unordereduniqueand immutablejust like dictionary keys here is what keys views look like when used in set operations (continuing the prior section' session)dictionary value views are never set-likesince their items are not necessarily unique or immutablekv (dict_keys([' '' '])dict_values([ ]) {' ' {' '' '' 'keys (and some itemsviews are set-like {' ' typeerrorunsupported operand type(sfor &'dict_valuesand 'dictv {' ' values(typeerrorunsupported operand type(sfor &'dict_valuesand 'dict_valuesin set operationsviews may be mixed with other viewssetsand dictionariesdictionaries are treated the same as their keys views in this contextd {' ' ' ' ' ' keys( keys({' '' '' ' keys({' '{' ' keys({' ' {' ' lists and dictionaries intersect keys views intersect keys and set intersect keys and dict