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

Does every point lie in a quadrant?
Why was is difficult for the Arab people to form one nation?
you measure or observe two events to occur at the same time one nearby and one further away. Which one did you actually see first?
Which of the kingdoms has the smallest number of known species
Why was is difficult for the Arab people to form one nation?
If a slope of a line is 2/0 is it 0 or undefined?
Dominick lives 1 3/4 miles from his school.  If his mother drives him half the way, how far will Dominick have to walk to get to school?
The value square root of 53 of lies between which two consecutive integers?
How do you Factor c(squared)-8c ??
Find all powers of 4 in range 4 through 1,000