Python 2D lists 📎

  Рет қаралды 26,797

Bro Code

Bro Code

Күн бұрын

Python 2D lists two dimensional list
2D lists = a list of lists
drinks = ["coffee","soda","tea"]
dinner = ["pizza","hamburger","hotdog"]
dessert = ["cake","ice cream"]
food = [drinks,dinner,dessert]
print(food[0][0])
#Python #2D #lists
------------------------------
Up In My Jam (All Of A Sudden) by - Kubbi / kubbi
Creative Commons - Attribution-ShareAlike 3.0 Unported- CC BY-SA 3.0
Free Download / Stream: bit.ly/2JnDfCE
Music promoted by Audio Library • Up In My Jam (All Of A...
------------------------------

Пікірлер: 51
@BroCodez
@BroCodez 3 жыл бұрын
# 2D lists = a list of lists drinks = ["coffee","soda","tea"] dinner = ["pizza","hamburger","hotdog"] dessert = ["cake","ice cream"] food = [drinks,dinner,dessert] print(food[0][0])
@gadgetsfunnel2886
@gadgetsfunnel2886 3 жыл бұрын
Coffee
@shauryaxd1218
@shauryaxd1218 Жыл бұрын
@@gadgetsfunnel2886 lol 😆
@42venom25
@42venom25 Жыл бұрын
love your content, thank you for doing what you're doing!
@Hussein-qr5je
@Hussein-qr5je 6 ай бұрын
2hr lecture explained in 4 minutes
@airlanggak5391
@airlanggak5391 2 жыл бұрын
thanks for the tutorial man!
@AhmedMahmoud-ou9tp
@AhmedMahmoud-ou9tp Жыл бұрын
nice work man very useful
@selimb6558
@selimb6558 Жыл бұрын
thank you so much this was so helpful!
@vladthelad69
@vladthelad69 Жыл бұрын
Ur amazing, keep doing what you do ;D
@xNN-
@xNN- 5 ай бұрын
شكراا لك
@caseywong8565
@caseywong8565 5 ай бұрын
great stuff. Very helpful.
@slonbeskonechen8310
@slonbeskonechen8310 3 жыл бұрын
Great thanks!!!
@spartanranger
@spartanranger 2 жыл бұрын
Thanks for the video Bro.
@vaniad555
@vaniad555 7 ай бұрын
Love your content!
@irushishalina3852
@irushishalina3852 2 жыл бұрын
Thank you so much.😄
@salamali5099
@salamali5099 Жыл бұрын
❤ thanks great videos!
@yousufiqbal8694
@yousufiqbal8694 9 ай бұрын
Nice!👍
@user-vo1sw2ki9n
@user-vo1sw2ki9n 8 ай бұрын
Good job
@elamrani1449
@elamrani1449 Жыл бұрын
cool video 👍👍👍👍
@alirezasohrab4924
@alirezasohrab4924 5 ай бұрын
yo bro this video is so good so im gonna comment
@kunalkamthe8039
@kunalkamthe8039 Жыл бұрын
Thanks bro
@albano9354
@albano9354 Жыл бұрын
Thanks bro!
@madhushanka853
@madhushanka853 2 жыл бұрын
Thank you!
@sandhyatanpure6702
@sandhyatanpure6702 3 жыл бұрын
Nice
@kemann3815
@kemann3815 2 жыл бұрын
Great! r e a t !
@parham6676
@parham6676 3 жыл бұрын
nice
@ahiamatagabriel5696
@ahiamatagabriel5696 2 жыл бұрын
Thank you.
@jhassee
@jhassee Жыл бұрын
commenting just to support the channel
@ivanuwka
@ivanuwka 2 жыл бұрын
Best tutorial)
@SCTCH
@SCTCH 2 жыл бұрын
thanks
@iluminatienteredthechat
@iluminatienteredthechat 2 жыл бұрын
Thanks
@Yogita1723
@Yogita1723 4 ай бұрын
Found it helpful
@linuso524
@linuso524 Жыл бұрын
pozzza
@beingzero7541
@beingzero7541 2 жыл бұрын
wow!
@jimwu899
@jimwu899 2 жыл бұрын
thank u
@orionstorm8840
@orionstorm8840 3 ай бұрын
Commenting for the youtube algorithm and cause Bro code is my bro o7
@lw9954
@lw9954 Жыл бұрын
Based lists
@budderrar5751
@budderrar5751 Жыл бұрын
noice
@geraAlcantara
@geraAlcantara 3 жыл бұрын
similar to array of arrays
@elamrani1449
@elamrani1449 Жыл бұрын
i love python
@tarikyassa1076
@tarikyassa1076 2 жыл бұрын
👍
@user-sh5zv4yf5s
@user-sh5zv4yf5s 2 жыл бұрын
Please teach data analysis
@kirankumardo
@kirankumardo 2 жыл бұрын
what if i want to print every element of every list? Thanks for tutorialreally needed it
@knownrobloxian3381
@knownrobloxian3381 2 жыл бұрын
list = ["breakfast, lunch, dinner"] breakfast = ["eggs, toast, water"] lunch = ["ramen, orange juice, salad"] dinner = ["cheese, sandwich, milk"] All = print(breakfast, lunch, dinner)
@mdanishossain026
@mdanishossain026 2 жыл бұрын
# 2D list # Print Every element from the list drinks = ['coffe', 'soda', 'tea'] dinner = ['pizze', 'hanburger', 'rice'] dessert = ['cake', 'ice cream'] foods = [drinks, dinner, dessert] print(foods) for i in range(len(foods)): for j in range(len(foods[i])): print(foods[i][j], end = ' ') print()
@xichavolimpia3196
@xichavolimpia3196 Жыл бұрын
What if I want to pair coffee with pizza
@musamutale422
@musamutale422 10 ай бұрын
Hi
@pbsmoothie7281
@pbsmoothie7281 Жыл бұрын
KZbin algorithm comment
@Glockstorm
@Glockstorm 2 жыл бұрын
still going
@overwinner357
@overwinner357 3 жыл бұрын
First
@mdanishossain026
@mdanishossain026 2 жыл бұрын
# 2D list drinks = ['coffe', 'soda', 'tea'] dinner = ['pizze', 'hanburger', 'rice'] dessert = ['cake', 'ice cream'] foods = [drinks, dinner, dessert] print(foods) for food in foods: print(food) print(foods[2][0])
Python lists, sets, and tuples explained 🍍
15:06
Bro Code
Рет қаралды 227 М.
Python logical operators 🔣
6:27
Bro Code
Рет қаралды 32 М.
They RUINED Everything! 😢
00:31
Carter Sharer
Рет қаралды 21 МЛН
The Worlds Most Powerfull Batteries !
00:48
Woody & Kleiny
Рет қаралды 27 МЛН
Accessing Elements of a List in Python
17:18
Neso Academy
Рет қаралды 25 М.
Searching through 2D Lists in Python
6:10
Richard Robinette
Рет қаралды 9 М.
Python lists 🧾
6:34
Bro Code
Рет қаралды 31 М.
Python Programming 42 - Working with List of Lists (2D Lists)
4:16
Introduction to Lists in Python | Python Tutorial - Day #22
20:07
CodeWithHarry
Рет қаралды 442 М.
20. Python Tutorial -  Two Dimensional - 2D - List
10:57
Sandip M
Рет қаралды 57 М.
Python 2D arrays and lists
10:43
RealLifeEd
Рет қаралды 19 М.
ALL 11 LIST METHODS IN PYTHON EXPLAINED
9:23
Indently
Рет қаралды 75 М.
Python Tutorial for Beginners 4: Lists, Tuples, and Sets
29:05
Corey Schafer
Рет қаралды 1,4 МЛН
Python OOP Tutorial 1: Classes and Instances
15:24
Corey Schafer
Рет қаралды 4,4 МЛН
Мечта Каждого Геймера
0:59
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 79 М.
Очень странные дела PS 4 Pro
1:00
ТЕХНОБЛОГ ГУБАРЕВ СЕРГЕЙ
Рет қаралды 457 М.
Best Beast Sounds Handsfree For Multi Phone
0:42
MUN HD
Рет қаралды 339 М.
How To Unlock Your iphone With Your Voice
0:34
요루퐁 yorupong
Рет қаралды 20 МЛН
iPhone 15 Pro vs Samsung s24🤣 #shorts
0:10
Tech Tonics
Рет қаралды 12 МЛН
ЭТОТ ЗАБЫТЫЙ ФЛАГМАН СИЛЬНО ПОДЕШЕВЕЛ! Стоит купить...
12:54
Thebox - о технике и гаджетах
Рет қаралды 157 М.
Iphone or nokia
0:15
rishton vines😇
Рет қаралды 1,4 МЛН