diff --git a/python.md b/python.md index a6250e41a9..83bcb24efb 100644 --- a/python.md +++ b/python.md @@ -85,7 +85,7 @@ d.get("key") # if "key" not in dict returns None ```py s = set() # Empty set s = {1, 2, 3} # Set with values -s = set([1, 2, 3, 3] # Convert List into Set +s = set([1, 2, 3, 3]) # Convert List into Set # Modifications s.add(4) # Add element