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

Find the height of the cylinder below if the radius r = 5 m, and the surface area is a = 439.8 m 2
If each grey square is 1cm in width and length, then what is the area of the shape?
Excerpt, Theodore Roosevelt, Inaugural Address Saturday, March 4, 1905 My fellow-citizens, no people on earth have more cause to be thankful than ours, and th
Dr. patel tells parents that she is studying addiction to video games in children but she is really studying childhood aggression. dr. patel brings children and
A long distance runner starts at the beginning of a trail and runs at a rate of 4 miles per hour. Two hours later, a cyclist starts at the beginning of the trai
Charles is making a video journal as he hikes in Yellowstone National Park. He is standing on a mountaintop and wants to film a full 360-degree view.
What is the length of segment SR? units
All of the following stages must occur for a woman to get pregnant. However, after which stage can a woman be described as pregnant?
What’s the main idea of this paragraph?
using the fraction 4,6 whats the denominator