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

All magnets have permanent magnetic fields. True False
Which of the following is true of both paying with a check and paying with a debit card?
Which of the following best explains why the atomic theory changed over the past 200 years?
What happen in the 1680s that create conflict between britain and the american colonies
Si la puerta no está abierta, está . marco está porque tiene un examen hoy. juan necesita dormir porque está . felipe está porque no encuentra nada interesante
Judging from what she says and does, how does Mrs. Mitty feel about her husband? A. She loves and respects him. B. She is proud of him. C. She is irr
WHAT IS A GREAT WEBSITE TO HELP YOU LEARN CHEMISTRY?
What is the value of x?
A scientist is examining a cell under the microscope. she observes cytoplasm, several ribosomes, a cell wall, a cell membrane, and a region of loose dna. what t
find the area of triangle ABC. The figure is not drawn to scale. A: 26.06 cm^2 B: 22.73 cm^2 C: 28.00 cm^2 D: 24.95 cm^2 PLESSE HEP