1list_1 = ['w','h']
2list_1.append('y') # you need no veribal to store list_1.append('y')
3print(list_1) # ['w','h','y']
4
5list_2 = ['a','r','e']
6list_1.append(list_2) # This also donot need a veribal to store it
7print(list_1) # ['w','h','y',['a','r','e']]
8
9list_1.extend(list_2)
10print(list_1) # ['w','h','y',['a','r','e'],'a','r','e']
11# please like
1#!/usr/bin/python3
2
3list1 = ['C++', 'Java', 'Python']
4list1.append('C#')
5print ("updated list : ", list1)