Answers for "put two lists into one"

1

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
Posted by: Guest on July-06-2021
0

combine two lists python

listone = [1, 2, 3]
listtwo = [4, 5, 6]

joinedlist = listone + listtwo
Posted by: Guest on November-10-2021

Code answers related to "put two lists into one"

Python Answers by Framework

Browse Popular Code Answers by Language