Coggle requires JavaScript to display documents.
>>> lottery = {21, 10, 46, 29, 31, 94} >>> lottery {10, 21, 29, 31, 46, 94}
>>> wrong_empty_set = {} >>> type(wrong_empty_set) dict
>>>empty_set=set() >>>empty_set set() >>>type(empty_set) set
>>>set('aplatanada') {'a','d','l','n','p','t'} >>>set([1,2,2,3,3,3,4,4,4,4,5,5,5,5,5]) {1,2,3,4,5} >>>set({'manzana':'rojo','plátano':'amario','kiwi':'verde'}) {'kiwi','manzana','plátano'}