Python Programming Tutorial – 5 – Lists

Facebook –
GitHub –
Google+ –
LinkedIn –
reddit –
Support –
thenewboston –
Twitter –


displacednaija says:

Okay I’ve found the spelling error in append

Surya N Pasumarthi says:

if we do
players =palyers +[1,2,3,4,5,6]
then the result is same and if we ask to print players then it will print the whole.Whats the use of using append function

Chris Torok says:

Instead of using append(), all I did was redefine players using the concatenation (+ sign) like this: players = players + [1, 4, 18, etc]

BerlingSwe says:

I literally thought about Crosby Malkin and Letang 5 seconds before you said it

musaedy says:

“.append” is for adding one number only. How can I add more than one number to the list?

fawzi nur says:

So, lists are like arrays?

Max Czarnota says:

Wanna ask is the term list in python not an array in other languages? I’m kinda confused since in c# list is something else.

Lalitha Azariah Sphoorthy Nutulapati says:

The visibility of your tutorial would be improved enormously if you could, you know, increase the font size?

Piotr Zaraś says:

Are these lists or arrays? In most programming languages I know (which is not a lot that’s why I’m asking) list has a lot to do with poiters or refereces. Here I cant see that connection but maby there is one that you just didn’t mention.

Caterina Santi says:

Why can’t I use this list also with words ? like
list = [cherry, apple, orange]
list [2] ? 
How can I select a word ?

Ahmed Maldhan Ali says:

>>> players
(1, 2, 3, 4, 5)
>>> players[2]
>>> players[2] = 9
Traceback (most recent call last):
File “ “, line 1, in
players[2] = 9
TypeError: ‘tuple’ object does not support item assignment

Why am i getting this error and not to you? lol confused

Abdullah Noman says:

# creating a array using loop
l = [ ]
for index in range(0, 20, 2):
print (l)

In this case it is better to use append() instead +=

Sunil Dangwal says:

Traceback (most recent call last):
File “ “, line 1, in
TypeError: ‘builtin_function_or_method’ object is not subscriptable

Surya N Pasumarthi says:

While using append function we can add only 1 entry.But what we should do when we need to add multiple entries..

ayush gupta says:


Gray Hughes says:

YOu can also just do players = [] to clear the list

alone shine says:

I can’t see the words, it’s too small

Sumeet Ramdass says:

Does .append command work in Python 3.6.1. Shell? When I gave command, it gave me the following error –

Traceback (most recent call last):
File “ “, line 1, in
TypeError: ‘builtin_function_or_method’ object is not subscriptable

Jithendra I K says:

how to write a list of characters?

Jayesh kumar says:

Hi Bucky, isnt it possible to use an function for appending multiple character, secondly is there any way to append a character in a particular part of the string/list rather than at the last.

Aman Jain says:

Hey some problem here

>>> hello [ 1,2,3,4,5,6,7]
>>> hello[3]
>>> 4
>>> hello[5]
Traceback (most call last):
File “ “, line 1, in
hello [4]
IndexError : list index out of range

Help me please!!!

maddcheddah says:

wet it up and throw it in a bag lol

Vitex says:

I’m using Python 2.7 so instead of using + use += (+= means it equals it’s old value + the new value), -= also works

alexedeigba says:

Thanks for the, its been helpful. If i want to update (append) the players list by more than one variable (numbers), how do I go about that (4:12)?

Brian Olsen says:


Write a comment


Human Verification: In order to verify that you are a human and not a spam bot, please enter the answer into the following box below based on the instructions contained in the graphic.

Do you like our videos?
Do you want to see more like that?

Please click below to support us on Facebook!

Send this to a friend

▷ Other ReviewsVehicles   Show Cars   Motorbikes   Scooters   Bicycles   Rims & Tires   Luxury BoatsFashion   Sunglasses   Luxury Watches   Luxury Purses   Jeans Wear   High Heels   Kinis Swimwear   Perfumes   Jewellery   Cosmetics   Shaving Helpers   Fashion Hats   Modeling TipsFooding   Chef Club   Fooding Helpers   Coktails & LiquorsSports   Sport Shoes   Fitness & Detox   Golf Gear   Racquets   Hiking & Trek Gear   Diving Equipment   Ski Gear   Snowboards   Surf Boards   Rollers & SkatesEntertainment   DIY Guides   Zik Instruments   Published Books   Music Albums   Cine Movies   Trading Helpers   Make Money   Fishing Equipment   Paintball Supplies   Trading Card Games   Telescopes   Knives   Vapes   GameplaysHigh Tech   Flat Screens   Tech Devices   Camera Lenses   Audio HiFi   Printers   USB Devices   PC Hardware   Network Gear   Cloud Servers   Software Helpers   Programmer Helpers   Mobile Apps   Hearing AidsHome   Home Furniture   Home Appliances   Tools Workshop   Beddings   Floor Layings   Barbecues   Aquarium Gear   Safe Boxes   Office Supplies   Security Locks   Cleaning ProductsKids   Baby Strollers   Child Car Seats   Remote ControlledTravel   Luggages & Bags   Airlines Seats   Hotel Rooms   Fun Trips   Cruise Ships   Mexico Tours