Skip to content

Commit

Permalink
Update python.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nkoroste authored Dec 13, 2024
1 parent 09b7f79 commit f492659
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f492659

Please sign in to comment.