| To add a new element to a list we use which Python command?
Choose the correct option from below list
(1)list1.addEnd(5)
(2)list1.addLast(5)
(3)list1.append(5)
(4)list1.add(5)
Answer:-(3)list1.append(5)
Notes:-We will use this function append to add an element to the list. | | |