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

I have to do a crossword about the coronavirus, does anyone know the answers to any of these?
Check which statements about square roots are true? Check all that apply. The square root of a positive number cannot be negative. All positive numbers have two
A cube has a side length of 5 cm. Find the area of the cube
2/5 x - 5 = 2/3 help pleasee
At what moment and to whom did Jesus give the keys to the Kingdom? What do the keys represent?
What figurative language is present in this line? (simile, metaphor, onomatopoeia, hyperbole, and/or personification) "Round and round, like a dance of snow" Al
All of the following are typical characteristics of traditional African religions except __________.
What is median of 3 7 5 2 4 2 53 6 9 7 7 3 5 2 7 3 2 2 7
Steve has 2 cups of flour. One of his recipes requires cup of flour. What is the maximum number of times Steve can complete the recipe? Only 0, 1, 2, 3, 4, 5,
How to find the missing unit 18/3=?/1