Example & Tutorial understanding programming in easy ways.

What is the difference between append() and insert() function of list?

Both of the function are used to add new item in the list.

append(): insert new item at the end of the list

insert() : insert new item at the index position.

Read More →