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

Which of the kingdoms has the smallest number of known species
which state of matter has the least amount of energy?
the cafeteria has 45 square  tables that can be pushed together to form one long table for the lacrosse team's banquet. Each square table can seat one person on
Dominick lives 1 3/4 miles from his school.  If his mother drives him half the way, how far will Dominick have to walk to get to school?
you measure or observe two events to occur at the same time one nearby and one further away. Which one did you actually see first?
The height of a rectangular prism with a 20 cm by 12 cm base and a 30 cm diagonal.find the unknown dimension
The height of a rectangular prism with a 20 cm by 12 cm base and a 30 cm diagonal.find the unknown dimension
which seismic wave moves through earth at the fastest speed?
Explain how a species can evolve through natural selection.
If 8 men can chop down 28 trees in one day, how many trees can 20 men chop down in one day?