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

a football team gained 9 yards on one play and then lost 22 yards on the next .write a sum of integers to find the overall change in field position explain your
Which equation is equivalent to y-6=-12(x+4)
Can someone tell me What is half of 4/9
Does any body know 2v+7=3
The core of an atom contains protons and __________.
What would be the second step in simplifying the expression 4 2 ÷ (2 • 9) + 5?multiplydivideaddexponent
If y=-4 when x=10, determine y when x=5
In which phase of the cell cycle do cells grow and synthesize new proteins and organelles
what is the area of a rectangle as a product
What is the fraction of 16/48