richu74
richu74 richu74
  • 03-11-2019
  • Computers and Technology
contestada

write a difference between append () and extend ()method of list​

Respuesta :

N3liya
N3liya N3liya
  • 03-11-2019

Answer:

..

Explanation:

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

Answer Link

Otras preguntas

Why arent algae and plants in the same kingdom?
Can I get some help solving this please? Thank you!
Which of the following elements does not contribute to the dreary mood of this short passage from the novel Bleak House by Charles Dickens? "Fog on the Essex m
Ted kerasote's essay a killing at dawn what is the setting
a field has a length of 12 m and a diagonal of 13 m what is the width?
10(x^2y)/xy^2=5y y in terms of x?
After people vote in their state, which of the following is used to determine the winner of the presidential race? the electoral college the House of Representa
The measure of an angle is nineteen times the measure of a supplementary angle. what is the measure of each angle?
Describe how singing, talking and reading to an infan promote early brain development?
¿cómo describe abreu la idea de una orquesta y sus características