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

Rating peer performance has an impact on the person being reviewed, as well as you, the reviewer. Why
HELP! WILL GIVE BRAINLIEST FOR CORRECT ANSWER!Consider the function f(x)=−3/4x+2.What is f(1/2)?Enter your answer, as a simplified fraction, in the box.f(1/2)=
Find the equation of the exponential function represented by the table below:x y0 21 42 83 16y=
In "Achieving Your Goals," the author writes, "Imagining a goal takes courage and creativity, and acting on it takes determination and hard work. Whether or not
What is a connected graph.
Rick cuts a 12-foot-long ribbon into 2 pieces. One piece is 3.5 feet longer than the other. What is the length of each piece?
I would appreciate it if you'd explain how to do this problem.​
what lymphatic component serves to monitor the bacterial load in the intestines specifically
I WILL GIVE BRAINLIEST PLS HELP ME! :( :( :(
if it takes4/7 of an hour to paint 2/7 of a room how long does it take to paint one