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

In an experiment to see if the comfort of chairs in a classroom makes a difference in how long students will work on math problems, one group was in standard ch
Help find the slope of each line
105.6 L/h = ___ L/min?
Which is a correct statement about an essay outline? A Sometimes the outline has only one topic and one subtopic. B The purpose of the outline is to organize
The Scientific Revolution played a major role in the emergence of the Industrial Revolution. Which two statements best show the Industrial Revolution’s impact o
Round 9372282 to the nearest 1,000
the age of Revolution lasted from 1791 to 1850 which of these was an effect on the time period?
URGENT!! In certain varieties of chicken, an allele for black feathers (IB) is co-dominant with an allele for white feathers (IW). Part A: Predict the phenotype
which states had the most representation in the house, small states or large sates? why?
The temperature is cold if