l = [1,2,3,4] b = [4,5,6] l.remove(1) #val del l[0] #key new_list = l.extend(b) #[1,2,3,4,4,5,6] new_list = l.append('a') #[1,2,3,4,'a']
l = [1,2,3,4] b = [4,5,6] l.remove(1) #val del l[0] #key new_list = l.extend(b) #[1,2,3,4,4,5,6] new_list = l.append('a') #[1,2,3,4,'a']