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

the breakup of the USSR in 1991 may be directly linked to the 20th century process of?
Your destination is 90 miles away, and your fuel gauge shows that your gas tank is one-quarter full. Your tank holds 12 gallons of gas, and your car averages ab
Type < or > to make this statement true. If a < b then -a ___ -b?
write an expression for 7 divided by c
Please answer this correctly
What are the disadvantages of using photo editing software in photography?
3(2d-4)-4d<2d+4solve the inequality
Find an irrational number betweenness 7.7 and 7.9. Explain why it is irrational
There are 15 people in the drama club, and they chose shirts that are $7 each. The total cost for the shirts was $150. Write an equation whose solution is the p
what is the German alphabetical order