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

When you weigh yourself, are you actually reading the support force acting on you, or are you really reading your weight?
How do I solve 15+(5-x)/x=30
Can a camel survive in : Arctic , desert , town , forest and ocean?
Evans uncle gave his money for his birthday. He puts half of the money in his savings account,spend 1/5 of the money on bubble gum to share with his friends,and
the region of flat land down by the ocean
Chemical transmitters can stimulate any receptor site to initiate an action.
factor strings of 840 up to six factors
Which types of proteins help defend the body against foreign agents like bacteria?
The quotient of a number and 5, minus 2,is 8.
The ordered pairs (0, -2), (1, 1), (2, 4), (3, 7), and (4, 10) represent a function.  What is a rule that represents this function?