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

To find the value of the following expression, which task should be completed first?
what is 2/5 * 2 3/4 equal to​
Find the value of x
Please help with this.
A partir de los textos leídos, ¿qué ideas o palabras asocias al término "exilio"? Escríbelas y compártelas con tu compañero o compañera de banco explicándole tu
Solve the indicail equation for x 2^x-1 =3^2x-1
July average temperature: 78°F,January average temperature: 52°F What is the percentage difference?
The results of an independent-samples t test were t(19) = 4.02, p < 0.05. In this example, the sample size is:
The best evidence of Earth's rotation is provided by the A) Foucault pendulum and global warming B) Foucault pendulum and Coriolis effectC) Moon phases and glob
A chi-square goodness-of-fit test will be performed using a simple random sample of 100 homes to investigate whether the proportion of homes heated with each so