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 much would $500 invested at 6% interest compounded monthly be worth after 4 years? Round your answer to the nearest cent
which fractions add together to make 11/5
Explain why a chlorinated swimming pool water would be a homogenous mixture?
One third of the Hispanic/Latino population of Florida is
Starting with 0.250l of a buffer solution containing 0.250 m benzoic acid (c6h5cooh) and 0.20 m sodium benzoate (c6h5coona), what will the ph of the solution be
Event A is rolling a five on a six sided die and event B is rolling an odd number on the same die. Are the events dependent or independent, why?
Compare the 3 in 536 to the 3 in 1,36 7. Draw number 536 using base ten block?
It's safe to download files from the internet if you perform regular windows security undated; that is all you need to protect your computer from viruses
A(4,2) B(1,4) C(6,5)
Which plural noun always takes a singular verb? A. News B. Ethics C. Electronics D. Politics