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 were some events/things that caused the Great Depression?
Suppose you ride your bicycle to the library traveling at 0.5 km/min. It takes you 25 minutes to get to 1.3 the library. How far did you travel?
What are abiotic factors of the enviroment lynx
Differences between DNA and RNA include which of the following? (1) RNA consists of one nucleotide chain. (2) RNA contains the nitrogen base uracil instead of t
What is 1997 from 2014????????????
3x+y=4 2x+y=5 solve using linear combination
Why does Louis XIV want to expand France's border?
which explorer sailed for france?
What is the slope of any line parallel to the line 8x + 9y = 3 in the standard (x,y) coordinate plane?
If it takes Mark twice as long to earn $6.00 as it takes Carl to earn $4.00, what is the ratio of Mark’s pay per hour to Carl’s pay per hour?