Commit 058c9f08 authored by edne's avatar edne
Browse files

Fix in sets

parent 4a3e2466
...@@ -534,7 +534,7 @@ AttributeError: 'tuple' object has no attribute 'append' ...@@ -534,7 +534,7 @@ AttributeError: 'tuple' object has no attribute 'append'
``` ```
>>> frutta = {"mele", "pere", "zucchine", "mele"} >>> frutta = {"mele", "pere", "zucchine", "mele"}
>>> frutta >>> frutta
{'mele', 'arance', 'pere'} {'mele', 'zucchine', 'pere'}
``` ```
---- ----
...@@ -548,7 +548,7 @@ Supportano le operazioni insiemistiche ...@@ -548,7 +548,7 @@ Supportano le operazioni insiemistiche
``` ```
>>> frutta.union(verdure) >>> frutta.union(verdure)
{'porri', 'verze', 'pere', 'zucchine', 'coste', 'mele'} {'coste', 'mele', 'pere', 'porri', 'verze', 'zucchine'}
``` ```
``` ```
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment