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

Tropical grasslands called steppes are found in the tropical wet-and-dry climate region. true or false?
lesson 3: the changing ways of life and thught how did the religious groups respond to the challenges of industrialization? (1 point) 1) they taught women new
The diagram shows the food web of desert ecosystem. Which sentence correctly describes a possible flow of energy among organisms in a food web? A. From hawks to
A , B , C , D?? Help
Write a paragraph, including a topic sentence and supporting details, to answer the following question: Even though Ivan does not appear in this part of the sto
Why is my foot asleep and im not sitting on it?????
The book Mourt's Relation: A Journal of the Pilgrims at Plymouth most likely contains A.firsthand accounts of the Pilgrims' landing at Plymouth. B.a historical
can plants talk? I'm super confuzzled!!!!!
Suppose the cost of renting a scooter varies directly with the number of hours you rent it for. It costs $37.50 to rent a scooter for 5 hours. a. What is an equ
is this an identity? 1+sec^2x=tan^2x