HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

How to create an empty list in Python

16,784 views November 2, 2018 1:05

Watch on YouTube
ChannelEnthought

Description 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

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
Duration
1:05
Published
November 2, 2018
Views
16,784
Likes
63

Tags

Share

This tutorial in other languages