Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to add two lists in python

list1 = ["M", "na", "i", "Ke"] 
list2 = ["y", "me", "s", "lly"]
list3 = [i + j for i, j in zip(list1, list2)]
print(list3)
# My name is Kelly
 
PREVIOUS NEXT
Tagged: #add #lists #python
ADD COMMENT
Topic
Name
6+9 =