DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
Using iterable unpacking operator * With unique values
list_1 = [1, 'a'] list_2 = [1, 2, 3] list_joined = list(set(list_1 + list_2)) print(list_joined)
Source by www.programiz.com #
PREVIOUS
NEXT
Tagged:
#Using
#iterable
#unpacking
#operator
#With
#unique
#values
ADD COMMENT
Topic
COMMENT
Name
4+2 =
Submit