HDTutorial
EN

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

How to add an item to a list in Python

24,899 views October 29, 2018 1:43

Watch on YouTube
ChannelEnthought

Description from the creator

In this short tutorial, you will learn how to add an item to a list in Python using insert and append. 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:
*****************
company = ['julia', 'erick', 'dillon']
company.insert(0, 'jill')
company
company.append('alex')
company

Connect with us!
*****************
twitter.com/enthought
facebook.com/Enthought/
linkedin.com/company/enthought

About this tutorial

Enthought published this 1:43 video tutorial on October 29, 2018. It has been watched 24,899 times on YouTube.

Channel
Enthought
Duration
1:43
Published
October 29, 2018
Views
24,899
Likes
160

Tags

Share

This tutorial in other languages