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

Which diagram shows a 90 degree angle?
Why did William Penn establish the colony of Pennsylvania? Responses A He hoped to found a place where Quakers would not be allowed to live. B He wished
What is a comprehensive clinical vocabulary designed to encompass all terms used in health care?
Right angle measurement
im having trouble finding the answer
what is the equation of a line passing through (-3,7) and having slope -5
1.An involvement in risky business transactions in an effort to make a quick or large profit is called? Day Trading Speculation Derivative Trading Credit Defaul
WOOOHOO! You and your friends have just won a lottery for airplane tickets to Hawai'i for spring break. You are especially excited to visit the famous green san
Answer the question below. Use the rubric in the materials for help if needed. Explain the president's role as legislative leader of the United States of Americ
When a party breaches a contract, they could be responsible for: a) Criminal damages b) Class 6 Felony c) Adverse possession d) Specific performance