Python 3 Tutorials: List Methods Extend vs Append

preview_player
Показать описание
In this video aimed at beginners, we will take a look at two Python 3 list methods,
that seem similar, but are somewhat different.
We will take a look at append vs extend in Python 3.

Just created a facebook page:


Here is my reddit account for sharing links:


Here is my twitter account for programming:


Here is my github account:

Рекомендации по теме
Комментарии
Автор

"In this video aimed at beginners...." I have to say, though I wouldn't characterize myself as a beginner, I had somehow missed this entire distinction of extend vs apppend until now. This is the second vid of yours I've watched -- recommended by the first (from 2017) and didn't blink deciding to subscribe. You earned it! You do a fantastic job of explaining a simple topic we need to know with examples that are easy to understand, all the while staying quite succinct and wasting no time. Thanks so much!

jamiehosmer
Автор

Those tiny videos, where you look in depth for small python parts are the best!! Usually we check the code fast on google, do our project and don't pay attention. So you bring the attention to us!! Thanks!! Great concept!!

akiratoriyama
Автор

Why is this printing None?
a = ['aaa', 2, 3]
b = [4, 5, 'bbb']
result = a.extend(b)
print(result)

liri