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

Why is having more than one political party important to having free elections ?
PLEASSEEE HELP These two campaign posters give information about two candidates for the U.S. House of Representatives. There are two text boxes side by side. Th
naturalist writers emphasize connecting nature to A. academic achievement B. artistic creativity C. historical figures D. human experience
Solve the equation. 4^2x – 5 = 64
Identify three of the most environmentally negative impacts of the Industrial Revolution and justify
Consider the food chain. What would MOST LIKELY happen if the bass started to disappear because too many of them had been caught during fishing season? A) The
How do you subtract (2/3)-(1/6)
what indicated mlk is writing his letter to an audience other than his fellow clergymen?
What type of border would likely have the most protection
A triangle has angles with the following measures: (x2 + 34)°, (6x + 4)°, and (10x + 10)°. Solve for x.