Python program to merge / concatenate two lists

Hello everyone, welcome back to Here in this post am going to tell you how to concatenate / merge lists.

You can watch this video on Youtube here

Program on Github

Add, merge or concatenate lists – Code Visualization


To merge / add / concatenate lists.


  • Read input number asking for length of the list using input() or raw_input().
  • Initialise an empty list lst = [].
  • Read each number using a for loop.
  • In the for loop append each number to the list.
  • Repeat the above 4 points for the second list lst2[] as well.
  • Now add / merge / concatenate two lists lst + lst2
  • Print the resultant list of the above operation.

Program on Github



Concatenate lists in Python -
Concatenate lists in Python –

Program on Github

Course Suggestion

Want to learn python with strong fundamentals? If yes, I strongly suggest you to take the course below.
Course: Fundamentals of Programming in Python


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.