Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

lpython list unino

1# union of multiple sets shortcut :
    #list(set().union(list........)
2
3
4
5
lst1=[2,3,4]
lst2=[5,6,7]
lst3=[7,4,8]
union=list(set().union(lst1,lst2,lst3))
print("
The union of three list is:",union)
Source by www.pythonpool.com #
 
PREVIOUS NEXT
Tagged: #lpython #list #unino
ADD COMMENT
Topic
Name
1+3 =