Computer Science, asked by Sanjivmano, 10 months ago

Difference b/w append and extend

Answers

Answered by prashantgurjar0440
3

Answer:

append adds its argument as a single element to the end of a list. The length of the list itself will increase by one. extend iterates over its argument adding each element to the list, extending the list. The length of the list will increase by however many elements were in the iterable argument.

Explanation:

Answered by motisingh12
3

Explanation:

append and its argument as a single element to the end of the list. the length of the list itself will increase by 1 .extend iterates over its arguments adding each element to the list ,extending the list .

Hope it will help you please mark me as a brain list

Similar questions