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

The root word means time?
The coalition of various reform groups was called the _____.
8 kg of potatoes and 5 kg of carrots cost $28 whereas 2 kg of potatoes and 3 kg of arrot cost $11.20.what is the cost of 1 kg of each item
A Pair of basketball shoes was originally priced at $80 but was Marked 37.5% what was the retail price of the shoe
Choose the correct figure of speech. "I've told you fifty times not to do that!" exaggeration simile metaphor irony satire
which five states did not have a battle during the American Revolutionary War?
Nutrients supply the body with energy and maintenance materials. True Or Flase
Which of the following is a reason a country might put a tariff on imports? a. To form an agency relationship b. To increase its exports c. To protect domesti
Volunteering for a political candidate's campaign is a good way to learn more about politics.
In studies scientists have found that the level of carbon dioxide has increased. What is an explanation for this? A. volcanoes erupting B. humans use of fossil