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

I need to find x pls
What attitude toward individual expression does this line illustrate
Help pls hello pls hello hello
What particles are added together to get the atomic mass?
Blood circulates through many bones. True False
Fill in the blank with the correct form of the verb in the conditionnel tense : Je __________ dans un restaurant chic si j'allais à Paris. (manger) (2 points)
which of the following is a correct equation for the line passing through the point (-3,2) and having slope m=2/3. Check all that apply. A.) y-2=2/3(x+3)B.) 2x-
HELP ME WITH THIS FAST!!!!!!!! PLEASE!!! A jar holds 3/4 gallon of juice when it is 7/8 full. Which statement best describes the quotient of 3/4 divided by 7/8?
Unit rate for 21 3/4 in 2 1/2 hours
Does adding debt increase or decrease the flexibility of a healthcare provider? Why