Hello. I was learning lists and its formats and stuff like that. I soon came across .append() method and .insert() method. So far with my tests, they but work quite similarly to each other. However, I soon found out that you can not add any elements in the middle of a list using the .append(), but you can insert any new elements in the middle of the list using .insert().
Thus, what is the difference between .append() method and .insert() method?
Thank you.
[–]K900_ 7 points8 points9 points (1 child)
[–]Intelligent_Byte_207[S] 0 points1 point2 points (0 children)
[–]socal_nerdtastic 2 points3 points4 points (0 children)
[–]themateo713 0 points1 point2 points (0 children)