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

Area of a triangle 36 ft. By 41 1/2 ft.?
What reproductive advantage do amniotes have over pre amniotes
The British chieftan, Calgacus, _____. Select the best answer from the choices provided. spoke glowingly about the benefits of the Pax Romana led one of the
5 quarts of oil for her car. How many fluid ounces is that
how is science used by a firefighter
Marshall determines that a gas has a gauge pressure of 276 kpa what's the absolute pressure of the gas
A bag containing 5 red balls, 8 blue balls and 7 yellow balls, what % of the balls are blue?
how do the mouth and stomach play a role in mechanical digestion
Which of the following questions describes the equation m - 4 = 7? a.What number, when subtracted from four, results in seven? b.What number, when four is subt
Which sentence contains an element of bias? According to researchers, children who watch less television are more likely to lead an active lifestyle and partici