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

What is the least common denominator for 5/6 and 3/8. 3/4 and 6/7
Mini-Project: Cents and the Central Limit Theorem 1. Collect a sample of at least 50 pennies by setting aside all the pennies you receive in change for severa
How do you?...Multiply out and simplify 10(2x-1)-20x?
how were north american colonies all similar in the 1700s?
Why is sodium sulphate hemihydrate called as "Plaster of Paris"?
What were the major causes of WWII? Please include at least 4 answers.
how do you write 4540 million in standard form?
What is the amplitude of y=1/2 sin2x
how were north american colonies all similar in the 1700s?
how were north american colonies all similar in the 1700s?