Python lists, sets, and tuples explained 🍍

  Рет қаралды 221,308

Bro Code

Bro Code

Күн бұрын

#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

Пікірлер: 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 6 ай бұрын
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😂
@kaungbhonethant
@kaungbhonethant 11 күн бұрын
I've been looking a python course like this and finally I've found this. I love you bro code.
@mayracarreno4123
@mayracarreno4123 4 ай бұрын
man, I've never learned code's topics this fast and clear, THANK YOU!!!
@ptd3v
@ptd3v Ай бұрын
This is easily the best video on this topic out there.
@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
@HelicopterRidesForCommunists
@HelicopterRidesForCommunists Жыл бұрын
Love the nice, clear, concise, and easy to understand style of your teaching.
@ShadowCodeX
@ShadowCodeX 5 ай бұрын
You're the only guy who explains the Python to my understanding. Tnx very much😊
@user-wu5fm9vi6f
@user-wu5fm9vi6f Жыл бұрын
why is this video way better than my 1k uni course
@jayman8001
@jayman8001 Жыл бұрын
This was incredibly useful and easy to understand. Thank you sir.
@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
@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.
@yanasitta
@yanasitta 4 ай бұрын
I really enjoyed and learned a lot quickly from this video. Easy to follow and concise. Thank you.
@thinkandquestion1305
@thinkandquestion1305 20 күн бұрын
A great tutorial. Thanks
@HishamButt-ue5rc
@HishamButt-ue5rc Жыл бұрын
you earned a new sub! excellent teacher was struggling with these!
@cozycubix
@cozycubix 10 ай бұрын
Thanks, Good Job Professionally delivered.
@fbushphone
@fbushphone Ай бұрын
You're the man, thank you for freely sharing your knowledge it is much appreciated
@JDgiggles
@JDgiggles 7 ай бұрын
Thank you so much for these videos. I yearn to become a programmer, and this really helps.
@SHREYASPATEL-wh1ki
@SHREYASPATEL-wh1ki Ай бұрын
amazing explaination sir thank you so much....
@MannyBernabe
@MannyBernabe 9 ай бұрын
I like the collection framing. Helpful.
@godoy_
@godoy_ 8 күн бұрын
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!")
@jatauinnocent7956
@jatauinnocent7956 8 ай бұрын
I am truly educated with the lesson
@mlfreak2471
@mlfreak2471 6 ай бұрын
Amazingly well explained
@wrtreinador
@wrtreinador 3 ай бұрын
Clear explanation, thank you.
@_Tomaszeq
@_Tomaszeq 2 ай бұрын
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
@user-we7gq1zy4o
@user-we7gq1zy4o 5 ай бұрын
Bro you explained well and very easily now i realise now I'm learning
@TN61GAMER
@TN61GAMER Жыл бұрын
Waiting for this video 🤗🎉
@311DaveR
@311DaveR 4 ай бұрын
Awesome - great job
@altarious7251
@altarious7251 7 ай бұрын
great lesson
@al-cadaalachannel3194
@al-cadaalachannel3194 Жыл бұрын
Teacher thanks. If you finished this course teach us python for advanced
@imnxf6137
@imnxf6137 Ай бұрын
Thank you, Sir
@augustinejoseph4302
@augustinejoseph4302 Жыл бұрын
great 👍👍👍
@JoaoLima-pq1hm
@JoaoLima-pq1hm 10 ай бұрын
Excellent work, bro
@bekkhanh
@bekkhanh 11 ай бұрын
brief and easy to remember :)
@balkanarchist1914
@balkanarchist1914 2 ай бұрын
The concepts are easy to understand, but it's still a great reference for beginners like me.
@lal_1404
@lal_1404 3 ай бұрын
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.🙏
@KatRollo
@KatRollo 3 ай бұрын
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.
@aritradas6588
@aritradas6588 Жыл бұрын
Love your videos bro
@Muhaiminul_coding_club
@Muhaiminul_coding_club 4 ай бұрын
thank you man,, this is cooler 😎 😎
@tara2337
@tara2337 2 ай бұрын
GREAT!!
@binarycloud1843
@binarycloud1843 4 ай бұрын
Good stuff!!
@ranjithramanathan7663
@ranjithramanathan7663 8 ай бұрын
nice
@LauwaliIsaDk
@LauwaliIsaDk Жыл бұрын
I like your style bro.
@sanunitwaibu529
@sanunitwaibu529 7 ай бұрын
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.
@beforechrist1193
@beforechrist1193 Жыл бұрын
Best bro ever
@3MILFOR3VER
@3MILFOR3VER Жыл бұрын
Thank you
@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
@erekle99
@erekle99 Жыл бұрын
good!
@drewxx8527
@drewxx8527 Жыл бұрын
JavaScript: I'm more advanced than you Python: I'm Easy than you. Your giving people mentalbreak down
@markmilan57
@markmilan57 4 ай бұрын
Bro will you make a video about asyncio in python? It will be helpful a lot.
@to4698
@to4698 3 ай бұрын
🖐 Thanks a lot ! (❤,👍,🧔‍♂,🙋,🐝,🌼)
@durlabhbiswas860
@durlabhbiswas860 Жыл бұрын
Thanks Bro! It is in my syllabus and I am so doomed 💀
@trxlly
@trxlly Жыл бұрын
Thnxx
@sherubawon1
@sherubawon1 Жыл бұрын
Curious..why use immutable for set and unchangeable for tuples if the words almost mean the same thing?
@jubbed5826
@jubbed5826 Жыл бұрын
hello u can make video with Ruby (programming languages)
@ombhide9165
@ombhide9165 7 ай бұрын
Love U bro
@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?
@nahomhailu961
@nahomhailu961 Жыл бұрын
Let's go Brooo
@tee-hee9553
@tee-hee9553 Жыл бұрын
If you know please tell me how account store all its data.
@kamal9294
@kamal9294 Жыл бұрын
Bro i want Artificial intelligence and machine learning in python or advanced python
@rontarrant
@rontarrant 3 ай бұрын
Just off the top of my head, I can't think of any practical use for a set. Your thoughts?
@Mhe_Lan
@Mhe_Lan 7 ай бұрын
Do you have ARRAYS in python?
@decktoe
@decktoe Жыл бұрын
can u do in the next video lua video
@user-gl3uj7ts9o
@user-gl3uj7ts9o 2 ай бұрын
What if there is a multidimensional array?
@SasiKumar-un5zw
@SasiKumar-un5zw Жыл бұрын
Waiting for react tutorial...
@adam-vip
@adam-vip Жыл бұрын
👍👍👍
@nelsonphiri3473
@nelsonphiri3473 Жыл бұрын
hey man can you help me load a graph on GUI in java
@rockichannel3102
@rockichannel3102 Жыл бұрын
yes I am first...
@noahgsolomon
@noahgsolomon Жыл бұрын
Goat
@phanikiran9826
@phanikiran9826 5 ай бұрын
no, can't be that easy. In utter disbelief!
@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?
@nfsheat1456
@nfsheat1456 3 ай бұрын
sad for pineapple
@misslaurenbecca
@misslaurenbecca 2 ай бұрын
omg. Why did they not teach us about help() on day 1 of college?
@lolman6976
@lolman6976 Жыл бұрын
please tell me your extensions on vs code
@krishwadhwani47
@krishwadhwani47 Жыл бұрын
I think he uses PyCharm.
@Ravi.Kumar-
@Ravi.Kumar- Жыл бұрын
Recursion pls😢
@andrewamirzadeh7678
@andrewamirzadeh7678 Жыл бұрын
Whatever happened to the intro of “hey what’s going on everybody, it’s your bro here.”?!?!?!?
@H3XED_OwO
@H3XED_OwO 5 ай бұрын
sounds a lot like sets in maths
@nati2866
@nati2866 Жыл бұрын
Do you reply
@mcplayer7697
@mcplayer7697 Жыл бұрын
No
@Sk1pperCS
@Sk1pperCS 2 ай бұрын
5:11
@BUNNY-yh2wg
@BUNNY-yh2wg 3 ай бұрын
bro!!!! Sets are mutable sorry to correct , but it requires correction
@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.
@lympexyt6969
@lympexyt6969 Жыл бұрын
AYO IM EARLY PLS GIB ME HEART
@BroCodez
@BroCodez Жыл бұрын
ok
@YouGotCAGEDyt
@YouGotCAGEDyt Жыл бұрын
Bro code❤
@kekons23
@kekons23 3 ай бұрын
Bro likes pineapples
@srijan6787
@srijan6787 5 ай бұрын
Bro said English is a weird language 🌚
@Hellmiauz
@Hellmiauz 26 күн бұрын
Sets are mutable. Fight me.
@stickydamper
@stickydamper 3 ай бұрын
bro causally dissing English while making list
@javedsultan4830
@javedsultan4830 6 ай бұрын
genius
@jingboss1234
@jingboss1234 Жыл бұрын
ǫ̴̢̨̛̛̦̦̝̗̫͈͚̰̙͎̜͕̜̻̘͚̗͕̥͉͇̥̫͉̳̪͂͑̅̔̀̀̎̓̈́̓͑͆̓̈̈́̂̑͑͑̍̃̑͌͋̈́̂͊͗́͒͌̉̈́͆̾͊͑̇̃͛͒̄̐̄̊͆̎̈́̋̏̋̏̈́̽̓͗̅͑̎̈́̂̈́̍́́̋̑̈́̀́̅͑̓̃̓̽̃̅́͋́͊͗̃͂̌̅̈́̿̓̒̆̌͊̽̀̿̀̈̎́̈́̉̊̏̽̃̏̀̎̽́̍̐̊̄̊̓͛̕͘̕͘̚̚͘͘̚̕͘͘̚̕̚͝͝͠͝͝͝͝͠͝h̶̡̢̢̢̨̧̛̜̬͕̼̮̪̜̞̮̤̬̱̘͔̮͍̱̩̩̫̹̳̯͖͔̦͉̼̗͖̤͎̞͈̗̠͔̺͍̜͇̪̭͉̖͚̣̩̗̤͓̜̠̦̳͇͕͖͔̭̥͕̼͎̟͓̲̯̪͔̫̀̊̊͆̍͛̅̄̅̾̍̓̑̉͛͐̿̃̂̋̀͂́͑̏̔̉̐̔͛̆͛̓̇̋̐͊̒̋͛͛̋̀̅̏̉̑̋̇͘̚̚͜͜͠͠
@user-ul9ld1ui4n
@user-ul9ld1ui4n 5 ай бұрын
hi friends I want to become an engineer how can come up
Python dictionaries are easy 📙
8:06
Bro Code
Рет қаралды 188 М.
OMG 😨 Era o tênis dela 🤬
00:19
Polar em português
Рет қаралды 9 МЛН
Тяжелые будни жены
00:46
К-Media
Рет қаралды 5 МЛН
Functions in Python are easy 📞
10:38
Bro Code
Рет қаралды 374 М.
5 Good Python Habits
17:35
Indently
Рет қаралды 331 М.
Python Classes Tutorial #5 | Advanced Concepts
10:08
Aikonic
Рет қаралды 4,2 М.
Python: Data Structures - Lists, Tuples, Sets & Dictionaries tutorial
19:01
Oggi AI - Artificial Intelligence Today
Рет қаралды 326 М.
List Comprehension - BEST Python feature !!! Fast and Efficient
14:51
Python Simplified
Рет қаралды 184 М.
Python 2D collections are easy ⬜
8:39
Bro Code
Рет қаралды 36 М.
5 Useful Dunder Methods In Python
16:10
Indently
Рет қаралды 48 М.
This Is Why Python Data Classes Are Awesome
22:19
ArjanCodes
Рет қаралды 787 М.
25 nooby Python habits you need to ditch
9:12
mCoding
Рет қаралды 1,7 МЛН
OMG 😨 Era o tênis dela 🤬
00:19
Polar em português
Рет қаралды 9 МЛН