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

Choose the best Spanish equivalent to the phrase. Eat it! (the apple) ¡Cómala! ¡Cómela! ¡La come! ¡Cómesla!
what is the answer for 9=81×
Keegan is a police officer. she was recently placed on administrative leave because she was shot during an armed robbery. since the shooting, she can�t stop thi
Shaya is faced with a decision about smoking cigarettes while visiting family members who all smoke. Which area(s) of her health could be affected by her decisi
Determine the value for the following reaction. N2(g) + 3H2(g) → 2NH3(g)+ 22,000 cal ΔH =
Consider ABC with the measure of angle B equal to 60 degrees, and side lengths a=4 and c=5. Which option lists an expression that is equivalent to the length o
+264=1,707 whats the addend
Read the sentence. According to the latest reports sent to us, orangutans prefer to remain safely in their original habitats. Why can the infinitive phrase be c
A synonym for the word opinionated is
If a point is translated horizontally,the x-coordinate will stay the same.true or false