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

whats the squareroot of 72 needs to be simplified
use the diagram to answer the question. AB corresponds to which line segment?
Find the sets of values of x for which x(x+2) < x.​
If y is inversely proportional to x and y = 15 when x= 3 Find x when y = 5. X=5 X=8 X=9 X=1
ys is the perpendicular bisector of xz. What is the length of Xs if xz is 18 inches long?
Describe the structure of G protein ?
Analysis of Receivables Method At the end of the current year, Accounts Receivable has a balance of $420,000; Allowance for Doubtful Accounts has a debit balanc
I need help with this
Passage 1"Big data" is becoming a buzz word of the 21st century. Technically, big data refers to a data set that is too large to analyze. Colloquially, big data
A straight chain hydrocarbon with the formula C^3H^4 _____. has a triple C-C bond has a double C-C bond is essentially inert has two double C-C bonds