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

A sphere has a volume of 36π cm3. What is the diameter of the sphere?
Which of the following is true for Medicare? A. Medicare is a welfare program for low-income individuals. B. Medicare is a pub
The Voyager 1 spacecraft is now beyond the outer reaches of our solar system, but earthbound scientists still receive data from the spacecraft's 20-W radio tran
What will happen if TWO light bulbs are placed at point D, and point B is closed?
One number is nine more than another number. If the sum of the numbers is 65 find both numbers
A device that scientists use to map the ocean floor
The Voyager 1 spacecraft is now beyond the outer reaches of our solar system, but earthbound scientists still receive data from the spacecraft's 20-W radio tran
WILL GIVE BRAINLIEST! Write the general equation for the circle that passes through the points: (1, 7) (8, 6) (7, -1)
4. Use the Commutative Property of Multiplication to write a related multiplication sentence. 9×4​
loss is when what ??