Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python set union

x = {"apple", "banana", "cherry"}
y = {"google", "microsoft", "apple"}
z = x.union(y)
Source by www.freecodecamp.org #
 
PREVIOUS NEXT
Tagged: #python #set #union
ADD COMMENT
Topic
Name
1+8 =