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

How are molecules and energy changed during the biochemical processes of cellular respiration?
A car dealership has three locations, all about the same size, within the city. The graph shows last month’s sales figures for one of the locations. Which state
How many crusades were made to the Holy Land? 1, 2, 3, or 4
what is the momentum of a 0.27 kg fly that is traveling at 128 m/s?
Which facts could be applied to simplify this expression check all that apply 5x+3y+(-x)+6z
what is a golgi apparatus
For what reason would it need to carry a larger payload?
In a small chess tournament, 20 matches were played. Find out how many people were involved if it is known that each participant played 2 games with every other
what were two ways the Gracchus brothers sought to help the poor
What’s the correct answer