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 actor starred in :the joker
A washer and a dryer cost $450 combined. The cost of the washer is two times the cost of the dryer. What is the cost of the dryer?
All of the following are examples of extracurricular activities except: A. participating in a science lab after school. B. being a member of the school ch
Last week a share of stock gained a total of 1.64 points. Express this gain as a fraction in simplest form.
What are some law enforcement reforms that either have been discussed or are underway?
Compare the decimals 56.07 and 56.7.
Eight and seventeen thousandths in expanded form
What property would you use to solve m+6=-4
What did the ancient spartans believe in
How do harrison’s parents react to what has happened on television?