How to create an empty list in Python

Опубликовано: 02 Октябрь 2024
на канале: Enthought
16,390
63

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 https://goo.gl/sZVpXE.

Read the documentation for lists here: https://docs.python.org/3/library/std...

Code from video:
*****************
list()
[]
%timeit list()
%timeit []

Connect with us!
*****************
  / enthought  
  / enthought  
  / enthought