New course! Every coder should learn Generative AI!
Try a free lesson0
In what cases would you use append instead of insert?
2 Answers
+ 4
if you want to add a value to do end of the list
+ 2
append - when you need to attach it to the end of list
insert - to insert in a particular position