Initial commit
This commit is contained in:
5
python/Sets/Python program to create a union of sets.py
Normal file
5
python/Sets/Python program to create a union of sets.py
Normal file
@@ -0,0 +1,5 @@
|
||||
#Union
|
||||
setx = set(["green", "blue"])
|
||||
sety = set(["blue", "yellow"])
|
||||
seta = setx | sety
|
||||
print(seta)
|
||||
Reference in New Issue
Block a user