We can add new item in a list by following methods
– append()
– extend()
append() add its argument as single item to the end of list and extend() adds multiple items given in argument to the list.
We can add new item in a list by following methods
– append()
– extend()
append() add its argument as single item to the end of list and extend() adds multiple items given in argument to the list.