Python setzte Union
x = {"apple", "banana", "cherry"}
y = {"google", "microsoft", "apple"}
z = x.union(y)
Fierce Finch
x = {"apple", "banana", "cherry"}
y = {"google", "microsoft", "apple"}
z = x.union(y)
x = {"apple", "banana", "cherry"}
y = {"google", "microsoft", "apple"}
z = x|y