Answers for "make something in 2 lists python"

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

Python Answers by Framework

Browse Popular Code Answers by Language