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

Multinational corporations only do business in their home countries TRUE OR FALSE
Are 6 8 and 10 the sides of a right triangle?
What is the ratio 14:4 in its simplest form
A newspaper conducts a poll online to determine what proportion of voters approve of the proposed tax increase. In order to participate, people need to log onto
Match the description to the political party before 1960. Abraham Lincoln was a member created and voted for The New Deal party members were all White Southerne
What is the moral of the Epic of Gilgamesh What lesson did Gilgamesh learn?
Who holds the power in a unitary system of government?
What is an incentive
I am confused regarding the layout of the figure shown in this image. The distance between the two cross-sections is not uniform as it is 6 cm on one end and 8
Why are French, Italian, Portuguese, Spanish, and Romanian sometimes referred to as “Romance languages”? A. They are languages that speak of heroism and love.