Python Print Two list in one? How to Combine Python lists

admin
By -
0

 Combine Two List



For Print Python list with one's we are using croconate +

In this post we figure  out and learn how to combine two different list into one and gets output in one list

For this We make two separate list in python script file 

and one we name lis1 and second we named lis2 after it we are using python print function and 

we combine both list and gets one list with both element  as output.

Main Code

lis1 = [1,3,4,5,6]
lis2 = [6,7,8,9,9]
print(lis1+lis2)


Outpt
[1, 3, 4, 5, 6, 6, 7, 8, 9, 9]



Hope You  like it and its solve your problem.
For more update follow us and share this post.
Have nice day!!!

Post a Comment

0Comments

Put Your Thought or Query Here

Post a Comment (0)