Playback starts YouTube’s embedded player (privacy-enhanced mode).
How to create an empty list in Python
ChannelEnthoughtDescription from the creator
In this short tutorial, you will learn how to create an empty list in Python, using the literal syntax and a class constructor. Want to learn more? See our courses here goo.gl/sZVpXE.
Read the documentation for lists here: docs.python.org/3/library/stdtypes.html#list
Code from video:
*****************
list()
[]
%timeit list()
%timeit []
Connect with us!
*****************
twitter.com/enthought
facebook.com/Enthought/
linkedin.com/company/enthought
Read the documentation for lists here: docs.python.org/3/library/stdtypes.html#list
Code from video:
*****************
list()
[]
%timeit list()
%timeit []
Connect with us!
*****************
twitter.com/enthought
facebook.com/Enthought/
linkedin.com/company/enthought
About this tutorial
Enthought published this 1:05 video tutorial on November 2, 2018. It has been watched 16,784 times on YouTube.
- Channel
- Enthought
- Category
- Science & Technology
- Duration
- 1:05
- Published
- November 2, 2018
- Views
- 16,784
- Likes
- 63
Tags
Share
This tutorial in other languages
- FRComment créer une liste vide en Python
- ESCómo crear una lista vacía en Python
- PTComo criar uma lista vazia em Python
- ITCome creare una lista vuota in Python
- DEWie eine leere Liste in Python erstellen
- NLHoe maak je een lege lijst in Python te creëren
- RUКак создать пустой список в Python
- PLJak utworzyć pustą listę w Pythonie
- JAPythonで空のリストを作成する方法
- ARكيفية إنشاء قائمة فارغة في بيثون
- HIअजगर में एक खाली सूची कैसे बनाएं
- IDCara membuat daftar kosong di Python