Тёмный

Python lists, sets, and tuples explained 🍍 

Bro Code
Подписаться 1,9 млн
Просмотров 216 тыс.
50% 1

#python #tutorial #course
Python list set tuple tutorial example explained
00:00:00 intro
00:00:49 list
00:09:40 set
00:12:40 tuple
00:14:22 conclusion
List = [] ordered and changeable. Duplicates OK
Set = {} unordered and immutable, but Add/Remove OK. NO duplicates
Tuple = () ordered and unchangeable. Duplicates OK. FASTER

Опубликовано:

 

20 май 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 119   
@BroCodez
@BroCodez Год назад
DRINKING GAME: Take a shot every time I say the word *pineapple* # List = [] ordered and changeable. Duplicates OK # Set = {} unordered and immutable, but Add/Remove OK. NO duplicates # Tuple = () ordered and unchangeable. Duplicates OK. FASTER
@Br0_CoDeS
@Br0_CoDeS Год назад
Thanks buddy
@tomjones8293
@tomjones8293 11 месяцев назад
set is mutable in Python. please dont mislead your audience thanks
@imfrommars7362
@imfrommars7362 11 месяцев назад
@@tomjones8293 bro read the but Add/Remove part
@jeffryancheta8925
@jeffryancheta8925 6 месяцев назад
May I know what IDE youre using please
@dimitriwest8258
@dimitriwest8258 6 месяцев назад
@@jeffryancheta8925 thats pycharm
@jcoronav
@jcoronav 5 месяцев назад
I have seen dozens of tutorials, including the most known. Categorically, I can say yours are the best: clear, simple, intelligent speech. This is particularly appreciated by a non native English speaker. Thanks..
@fqfgecngacbgeagbd2146
@fqfgecngacbgeagbd2146 Год назад
After 8 years of trying to figure out python, you're one of only two people who could ever get it into my head and for that I'm ever greatful, thanks Bro!
@oyunkonsolu3676
@oyunkonsolu3676 Год назад
8 years
@pylejjy6279
@pylejjy6279 Год назад
you've been recearching for 8 years and you didnt learn the basics?
@dzik1815
@dzik1815 Год назад
He means 8 days.
@sajibulislam8472
@sajibulislam8472 6 месяцев назад
this is the biggest lie in internet
@triumph_4000
@triumph_4000 6 месяцев назад
​@@sajibulislam8472for real😂
@mayracarreno4123
@mayracarreno4123 3 месяца назад
man, I've never learned code's topics this fast and clear, THANK YOU!!!
@kaungbhonethant
@kaungbhonethant 3 дня назад
I've been looking a python course like this and finally I've found this. I love you bro code.
@HelicopterRidesForCommunists
Love the nice, clear, concise, and easy to understand style of your teaching.
@mohammadnoori9278
@mohammadnoori9278 Год назад
Thanks for all the efforts you are putting on making these videos. They are extremely helpful to me to organize what I've been learning. This video was really good and I want to ask if you can cover more advanced methods for them in another video. Thanks again.
@witwoowitwoo2287
@witwoowitwoo2287 Год назад
i love these videos iv spent many many hours watching. Im learning so much who knew so many things as changed over the years. i used to do coding many many years ago when there was only microsoft frontpage and notepad 🤣 keep up the great work
@ShadowCodeX
@ShadowCodeX 4 месяца назад
You're the only guy who explains the Python to my understanding. Tnx very much😊
@jayman8001
@jayman8001 Год назад
This was incredibly useful and easy to understand. Thank you sir.
@ptd3v
@ptd3v 25 дней назад
This is easily the best video on this topic out there.
@HishamButt-ue5rc
@HishamButt-ue5rc 11 месяцев назад
you earned a new sub! excellent teacher was struggling with these!
@shocky6302
@shocky6302 Год назад
I have recently been learning Python, and I will say that I am thankful for running across your channel. Thank you for all the knowledge and experience you teach and share! I hope to become successful in coding someday soon!
@johnsally8320
@johnsally8320 Год назад
How far have you gotten?
@akshitdadheech9870
@akshitdadheech9870 3 месяца назад
Update bro
@oasispath
@oasispath 10 месяцев назад
Thanks, Good Job Professionally delivered.
@fbushphone
@fbushphone 29 дней назад
You're the man, thank you for freely sharing your knowledge it is much appreciated
@yanasitta
@yanasitta 4 месяца назад
I really enjoyed and learned a lot quickly from this video. Easy to follow and concise. Thank you.
@JDgiggles
@JDgiggles 7 месяцев назад
Thank you so much for these videos. I yearn to become a programmer, and this really helps.
@godoy_
@godoy_ 11 часов назад
Made this code while studying this After a few minutes trying stuff, finally worked! Please try it! fruits = [] more_fruit = input("Do you want to add fruits? Y/N: ") while more_fruit == "Y": one_fruit = input("Please enter your Fruit(E to exit): ") fruits.append(one_fruit) if one_fruit == "E": break else: continue else: pass if len(fruits) > 0: fruits.remove("E") print(f"You Have {len(fruits)} fruit/s") listing = input("Do you want to know what fruits are in the list? Y/N: ") if listing == "Y": for x in fruits: print (x) else: pass else: print("No fruits!")
@altarious7251
@altarious7251 7 месяцев назад
great lesson
@TN61GAMER
@TN61GAMER Год назад
Waiting for this video 🤗🎉
@mlfreak2471
@mlfreak2471 6 месяцев назад
Amazingly well explained
@MannyBernabe
@MannyBernabe 9 месяцев назад
I like the collection framing. Helpful.
@jatauinnocent7956
@jatauinnocent7956 7 месяцев назад
I am truly educated with the lesson
@ranjithramanathan7663
@ranjithramanathan7663 8 месяцев назад
nice
@SHREYASPATEL-wh1ki
@SHREYASPATEL-wh1ki Месяц назад
amazing explaination sir thank you so much....
@thinkandquestion1305
@thinkandquestion1305 12 дней назад
A great tutorial. Thanks
@user-wu5fm9vi6f
@user-wu5fm9vi6f Год назад
why is this video way better than my 1k uni course
@zr0724
@zr0724 Год назад
bro please make a video on how to make your java program use internet protocols and other stuff like API of WhatsApp , etc.
@_Tomaszeq
@_Tomaszeq Месяц назад
Thanks bro for lists and all these collections, you are master
@hirootto2771
@hirootto2771 3 месяца назад
I had to leave a thanks, your video is really well explained and easy to understand
@wrtreinador
@wrtreinador 3 месяца назад
Clear explanation, thank you.
@user-we7gq1zy4o
@user-we7gq1zy4o 4 месяца назад
Bro you explained well and very easily now i realise now I'm learning
@311DaveR
@311DaveR 3 месяца назад
Awesome - great job
@JoaoLima-pq1hm
@JoaoLima-pq1hm 10 месяцев назад
Excellent work, bro
@aritradas6588
@aritradas6588 Год назад
Love your videos bro
@bekkhanh
@bekkhanh 11 месяцев назад
brief and easy to remember :)
@augustinejoseph4302
@augustinejoseph4302 Год назад
great 👍👍👍
@imnxf6137
@imnxf6137 Месяц назад
Thank you, Sir
@lal_1404
@lal_1404 2 месяца назад
Thanks, for the summarized details info. i was looking for this in all the others presenters tutorials, but i can't. My search ends here. Thanks once again.🙏
@Muhaiminul_coding_club
@Muhaiminul_coding_club 4 месяца назад
thank you man,, this is cooler 😎 😎
@al-cadaalachannel3194
@al-cadaalachannel3194 Год назад
Teacher thanks. If you finished this course teach us python for advanced
@beforechrist1193
@beforechrist1193 Год назад
Best bro ever
@binarycloud1843
@binarycloud1843 4 месяца назад
Good stuff!!
@LauwaliIsaDk
@LauwaliIsaDk Год назад
I like your style bro.
@tara2337
@tara2337 2 месяца назад
GREAT!!
@balkanarchist1914
@balkanarchist1914 2 месяца назад
The concepts are easy to understand, but it's still a great reference for beginners like me.
@3MILFOR3VER
@3MILFOR3VER Год назад
Thank you
@sanunitwaibu529
@sanunitwaibu529 6 месяцев назад
hello...your tutorials are extraordinary. can you please create a tutorial on python built-in functions(all built in functions there are 71). i hope you will work on it. thank you.
@erekle99
@erekle99 Год назад
good!
@trxlly
@trxlly Год назад
Thnxx
@KatRollo
@KatRollo 2 месяца назад
Instead of single "variable", I would probably use the term "container" that stores multiple values. But in the world of microservices, "container" means something else. 😅 Thanks for the Py tutorials.
@user-qf4ot7kc4x
@user-qf4ot7kc4x Год назад
feel bad for you, this useful material don't getting views, but thank you for teaching us (and me actually) coding
@rewardedwithemaan646
@rewardedwithemaan646 Год назад
Hey bro code, do you think you will make a full BASH play list? I.E suggesting
@nahomhailu961
@nahomhailu961 Год назад
Let's go Brooo
@to4698
@to4698 3 месяца назад
🖐 Thanks a lot ! (❤,👍,🧔‍♂,🙋,🐝,🌼)
@markmilan57
@markmilan57 4 месяца назад
Bro will you make a video about asyncio in python? It will be helpful a lot.
@adam-vip
@adam-vip Год назад
👍👍👍
@sherubawon1
@sherubawon1 Год назад
Curious..why use immutable for set and unchangeable for tuples if the words almost mean the same thing?
@decktoe
@decktoe Год назад
can u do in the next video lua video
@ombhide9165
@ombhide9165 6 месяцев назад
Love U bro
@rontarrant
@rontarrant 2 месяца назад
Just off the top of my head, I can't think of any practical use for a set. Your thoughts?
@SasiKumar-un5zw
@SasiKumar-un5zw Год назад
Waiting for react tutorial...
@durlabhbiswas860
@durlabhbiswas860 Год назад
Thanks Bro! It is in my syllabus and I am so doomed 💀
@Mythiril
@Mythiril 8 месяцев назад
why do you say sets are immutable? They're unhashable so by python definition they're mutable? otherwise they would have been hashable. Is there a reason why you consider them immutable?
@Pgertse7
@Pgertse7 Год назад
Hi Bro Code i`m learning python and are followng you video and has learned alot. I trying to write a code with the user input where it adds up a string of numbers like ect 12345678910123 every second number in a string of number. then i want to minus it with 10 if it is more than 10 ect 14 to get the number 4. How do i write the code im stuck?
@jubbed5826
@jubbed5826 Год назад
hello u can make video with Ruby (programming languages)
@kamal9294
@kamal9294 Год назад
Bro i want Artificial intelligence and machine learning in python or advanced python
@drewxx8527
@drewxx8527 Год назад
JavaScript: I'm more advanced than you Python: I'm Easy than you. Your giving people mentalbreak down
@tee-hee9553
@tee-hee9553 Год назад
If you know please tell me how account store all its data.
@noahgsolomon
@noahgsolomon Год назад
Goat
@user-gl3uj7ts9o
@user-gl3uj7ts9o Месяц назад
What if there is a multidimensional array?
@rockichannel3102
@rockichannel3102 Год назад
yes I am first...
@Mhe_Lan
@Mhe_Lan 7 месяцев назад
Do you have ARRAYS in python?
@nelsonphiri3473
@nelsonphiri3473 Год назад
hey man can you help me load a graph on GUI in java
@BUNNY-yh2wg
@BUNNY-yh2wg 2 месяца назад
bro!!!! Sets are mutable sorry to correct , but it requires correction
@misslaurenbecca
@misslaurenbecca Месяц назад
omg. Why did they not teach us about help() on day 1 of college?
@Ravi.Kumar-
@Ravi.Kumar- Год назад
Recursion pls😢
@phanikiran9826
@phanikiran9826 4 месяца назад
no, can't be that easy. In utter disbelief!
@lolman6976
@lolman6976 Год назад
please tell me your extensions on vs code
@krishwadhwani47
@krishwadhwani47 Год назад
I think he uses PyCharm.
@nfsheat1456
@nfsheat1456 2 месяца назад
sad for pineapple
@Sk1pperCS
@Sk1pperCS 2 месяца назад
5:11
@H3XED_OwO
@H3XED_OwO 5 месяцев назад
sounds a lot like sets in maths
@nati2866
@nati2866 Год назад
Do you reply
@mcplayer7697
@mcplayer7697 Год назад
No
@andrewamirzadeh7678
@andrewamirzadeh7678 Год назад
Whatever happened to the intro of “hey what’s going on everybody, it’s your bro here.”?!?!?!?
@lympexyt6969
@lympexyt6969 Год назад
AYO IM EARLY PLS GIB ME HEART
@BroCodez
@BroCodez Год назад
ok
@vladimirtsyapka3277
@vladimirtsyapka3277 Год назад
But wait. Set actually is mutable, isn't it? fruits = {"orange", "apple", "coconut"} print(fruits, id(fruits)) fruits.add("peanut") print(fruits, id(fruits)) returns the same id.
@YouGotCAGEDyt
@YouGotCAGEDyt Год назад
Bro code❤
@kekons23
@kekons23 2 месяца назад
Bro likes pineapples
@Hellmiauz
@Hellmiauz 18 дней назад
Sets are mutable. Fight me.
@srijan6787
@srijan6787 5 месяцев назад
Bro said English is a weird language 🌚
@stickydamper
@stickydamper 3 месяца назад
bro causally dissing English while making list
@javedsultan4830
@javedsultan4830 6 месяцев назад
genius
@jingboss1234
@jingboss1234 Год назад
ǫ̴̢̨̛̛̦̦̝̗̫͈͚̰̙͎̜͕̜̻̘͚̗͕̥͉͇̥̫͉̳̪͂͑̅̔̀̀̎̓̈́̓͑͆̓̈̈́̂̑͑͑̍̃̑͌͋̈́̂͊͗́͒͌̉̈́͆̾͊͑̇̃͛͒̄̐̄̊͆̎̈́̋̏̋̏̈́̽̓͗̅͑̎̈́̂̈́̍́́̋̑̈́̀́̅͑̓̃̓̽̃̅́͋́͊͗̃͂̌̅̈́̿̓̒̆̌͊̽̀̿̀̈̎́̈́̉̊̏̽̃̏̀̎̽́̍̐̊̄̊̓͛̕͘̕͘̚̚͘͘̚̕͘͘̚̕̚͝͝͠͝͝͝͝͠͝h̶̡̢̢̢̨̧̛̜̬͕̼̮̪̜̞̮̤̬̱̘͔̮͍̱̩̩̫̹̳̯͖͔̦͉̼̗͖̤͎̞͈̗̠͔̺͍̜͇̪̭͉̖͚̣̩̗̤͓̜̠̦̳͇͕͖͔̭̥͕̼͎̟͓̲̯̪͔̫̀̊̊͆̍͛̅̄̅̾̍̓̑̉͛͐̿̃̂̋̀͂́͑̏̔̉̐̔͛̆͛̓̇̋̐͊̒̋͛͛̋̀̅̏̉̑̋̇͘̚̚͜͜͠͠
@user-ul9ld1ui4n
@user-ul9ld1ui4n 4 месяца назад
hi friends I want to become an engineer how can come up
Далее
Python dictionaries are easy 📙
8:06
Просмотров 185 тыс.
Functions in Python are easy 📞
10:38
Просмотров 366 тыс.
Python shopping cart program 🛒
7:14
Просмотров 87 тыс.
5 Good Python Habits
17:35
Просмотров 313 тыс.
How To Use List Comprehension In Python
6:41
Просмотров 2,9 тыс.
Python 2D collections are easy ⬜
8:39
Просмотров 35 тыс.
5 Useful Dunder Methods In Python
16:10
Просмотров 46 тыс.
This Is Why Python Data Classes Are Awesome
22:19
Просмотров 786 тыс.
Python Object Oriented Programming in 10 minutes 🐍
10:04
25 nooby Python habits you need to ditch
9:12
Просмотров 1,7 млн
While loops in Python are easy ♾️
6:58
Просмотров 296 тыс.