Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

.extend python

Color = ["Blue", "Pink", "Yellow", "Green"]
Number = (2, 4, 12, 20)
Color.extend(Number)
print(Color)

#output
#['Blue', 'Pink', 'Yellow', 'Green', 2, 4, 12, 20]
 
PREVIOUS NEXT
Tagged: #python
ADD COMMENT
Topic
Name
4+6 =