2021年1月28日星期四

(Begginer programmer) What is the difference between appending something to a list and inserting?

Given numbers [1,2,3,4} if I appended 4 what would the list now be?

Given the same list of numbers if I inserted 4 what would the result be.

Im new in programming (dont roast me lol) and am not grasping this concept yet.

https://stackoverflow.com/questions/65946032/begginer-programmer-what-is-the-difference-between-appending-something-to-a-li January 29, 2021 at 06:17AM

没有评论:

发表评论