What is the difference between extend() function and append() function?
Answer:
extend( ) method |
append( ) method |
It is an in-built list method which can add multiple individual elements to the end of a list. |
It is an in-built list method which adds a single element to the end of a list. |
Learn in your speed, with individual attention - Teachoo Maths 1-on-1 Class