Answers for "how to join one set to another set in python"

3

join two set in python

set1 = {1, 4, 5, 6}
set2 = {1, 2, 3}

set3 = set1.union(set2)
print(set3)
Posted by: Guest on May-17-2020

Code answers related to "how to join one set to another set in python"

Python Answers by Framework

Browse Popular Code Answers by Language