Python lists 🧾

preview_player
Показать описание
python lists tutorial explained

#python #lists #list

# list = used to store multiple items in a single variable

food = ["pizza","hamburger","hotdog","spaghetti","pudding"]

food[0] = "sushi"

for x in food:
print(x)

––––––––––––––––––––––––––––––
Creative Commons — Attribution-ShareAlike 3.0 Unported— CC BY-SA 3.0
––––––––––––––––––––––––––––––
Рекомендации по теме
Комментарии
Автор

# list = used to store multiple items in a single variable

food = ["pizza", "hamburger", "hotdog", "spaghetti", "pudding"]

food[0] = "sushi"

#food.append("ice cream")
#food.remove("hotdog")
#food.pop()
#food.insert(0, "cake")
#food.sort()
#food.clear()

for x in food:
print(x)

BroCodez
Автор

When he says relax, he means it, tutorials are so relaxing

elliotradley
Автор

Muy buenos y prácticos vídeos. Conceptos resumidos y concentrados

gracielaespinosa
Автор

Your tutorials help me a lot. Big Thanks to you, Bro. Waiting for celebrating 1M together.☺

arshabegum
Автор

The best explanation ever, thank you!

ms.morales
Автор

That's really Nice Tutorial appreciate you Bro 😊

kunalkamthe
Автор

Good think always pay off
Thanks Bro

badhonbiswas
Автор

Dude, why are you stuck at 1, 500 view? That's so cruel for you... You deserve much better!

KUN_MHE
Автор

Good Job ..May you get good result for your channel

shzvyfs
Автор

damn dude, your videoes hit diferent, thanks man

anekdoche
Автор

i ordered pizza because of you. Thank you sirr. I'm no longer hangry

adamartinmusic
Автор

Hey bro, start a pygame tut. Teaching platformers and etc.

kkrolley
Автор

Is that that easy that I see or you make it easy

haryadhemn
Автор

Are there any other ways we could use the "food.sort()" function?

coolerfish
Автор

How do I replace more than one item in the variable??

lee-um