concatenate two lists

Solutions on MaxInterview for concatenate two lists by the best coders in the world

showing results for - "concatenate two lists"
Drew
17 Jan 2020
1# concatenation using naive method 
2 
3# Initializing lists
4test_list1 = [1, 4, 5, 6, 5]
5test_list2 = [3, 5, 7, 2, 5]
6  
7# using naive method to concat
8for i in test_list2 :
9    test_list1.append(i)