Code:
l1 = eval(input("Enter the elements"))
l2 = []
l3 = []
l = len(l1)
l2.extend(l1[0:l//2])
l3.extend(l1[l//2:l+1]
print(l2)
print(l3)
print(l3.extend(l2))
Output:
Enter the elements[1,2,3,4,5,6,7,8]
[1, 2, 3, 4]
[5, 6, 7, 8]
None
Please tell why the code is showing None as the output