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

explain each of the following kinds of rockets: Solid-Fuel Rocket, Liquid-Fuel Rocket, Ion Rocket and Plasma Rocket.
Why did European nations face financial challenges after Workd War l? Check all that apply
William Jennings Bryan and the Populist Party impacted American politics by combining which two ideological frameworks?
Why do the townspeople stone people in their community in the short story "The Lottery?"
Sara and Greg built an electromagnet in science class. They wrapped 50 turns of copper wire around an iron nail and hooked the ends of the wire to a 1.5 volt ba
A telephone pole is 15 meters tall and a pigeon is standing on the ground 8 meters from the pole. If the pigeon flies from where it is standing to the top of th
through: (-5,-4) parallel to y= 7/5x m-3
When given the information below, can you conclude that Quadrilateral WXYZ is a parallelogram? Why or why not? In Quadrilateral WXYZ, the sides have the followi
The Seventh Amendment uses the rules of common law to make sure that.....
Which point is on the graph of f(x) = 5"?