Python lists, sets, and tuples explained 🍍

  Рет қаралды 231,530

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

Пікірлер: 125
@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 Жыл бұрын
set is mutable in Python. please dont mislead your audience thanks
@imfrommars7362
@imfrommars7362 Жыл бұрын
@@tomjones8293 bro read the but Add/Remove part
@jeffryancheta8925
@jeffryancheta8925 7 ай бұрын
May I know what IDE youre using please
@dimitriwest8258
@dimitriwest8258 7 ай бұрын
@@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 7 ай бұрын
this is the biggest lie in internet
@triumph_4000
@triumph_4000 7 ай бұрын
​@@sajibulislam8472for real😂
@mayracarreno4123
@mayracarreno4123 4 ай бұрын
man, I've never learned code's topics this fast and clear, THANK YOU!!!
@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😊
@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 4 ай бұрын
Update bro
@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
@kaungbhonethant
@kaungbhonethant Ай бұрын
I've been looking a python course like this and finally I've found this. I love you bro code.
@ptd3v
@ptd3v Ай бұрын
This is easily the best video on this topic out there.
@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.
@HishamButt-ue5rc
@HishamButt-ue5rc Жыл бұрын
you earned a new sub! excellent teacher was struggling with these!
@yanasitta
@yanasitta 5 ай бұрын
I really enjoyed and learned a lot quickly from this video. Easy to follow and concise. Thank you.
@JDgiggles
@JDgiggles 8 ай бұрын
Thank you so much for these videos. I yearn to become a programmer, and this really helps.
@fbushphone
@fbushphone Ай бұрын
You're the man, thank you for freely sharing your knowledge it is much appreciated
@cozycubix
@cozycubix 11 ай бұрын
Thanks, Good Job Professionally delivered.
@TN61GAMER
@TN61GAMER Жыл бұрын
Waiting for this video 🤗🎉
@mlfreak2471
@mlfreak2471 7 ай бұрын
Amazingly well explained
@jatauinnocent7956
@jatauinnocent7956 8 ай бұрын
I am truly educated with the lesson
@hirootto2771
@hirootto2771 4 ай бұрын
I had to leave a thanks, your video is really well explained and easy to understand
@user-wu5fm9vi6f
@user-wu5fm9vi6f Жыл бұрын
why is this video way better than my 1k uni course
@_Tomaszeq
@_Tomaszeq 2 ай бұрын
Thanks bro for lists and all these collections, you are master
@SHREYASPATEL-wh1ki
@SHREYASPATEL-wh1ki 2 ай бұрын
amazing explaination sir thank you so much....
@MannyBernabe
@MannyBernabe 10 ай бұрын
I like the collection framing. Helpful.
@altarious7251
@altarious7251 8 ай бұрын
great lesson
@thinkandquestion1305
@thinkandquestion1305 Ай бұрын
A great tutorial. Thanks
@user-we7gq1zy4o
@user-we7gq1zy4o 5 ай бұрын
Bro you explained well and very easily now i realise now I'm learning
@kieljnsz
@kieljnsz 20 күн бұрын
This is amazing. Thanks!
@trecyodede8337
@trecyodede8337 3 күн бұрын
Great tutorial!
@311DaveR
@311DaveR 4 ай бұрын
Awesome - great job
@wrtreinador
@wrtreinador 4 ай бұрын
Clear explanation, thank you.
@augustinejoseph4302
@augustinejoseph4302 Жыл бұрын
great 👍👍👍
@jasonn5196
@jasonn5196 18 күн бұрын
Wow you are good. Spot on!
@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.🙏
@JoaoLima-pq1hm
@JoaoLima-pq1hm 11 ай бұрын
Excellent work, bro
@bekkhanh
@bekkhanh Жыл бұрын
brief and easy to remember :)
@al-cadaalachannel3194
@al-cadaalachannel3194 Жыл бұрын
Teacher thanks. If you finished this course teach us python for advanced
@aritradas6588
@aritradas6588 Жыл бұрын
Love your videos bro
@gencmuhendis8401
@gencmuhendis8401 9 күн бұрын
Thank you!
@ISOPOINTQCS
@ISOPOINTQCS 3 күн бұрын
THANK YOU !
@LauwaliIsaDk
@LauwaliIsaDk Жыл бұрын
I like your style bro.
@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.
@tara2337
@tara2337 3 ай бұрын
GREAT!!
@ranjithramanathan7663
@ranjithramanathan7663 9 ай бұрын
nice
@imnxf6137
@imnxf6137 2 ай бұрын
Thank you, Sir
@binarycloud1843
@binarycloud1843 5 ай бұрын
Good stuff!!
@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.
@balkanarchist1914
@balkanarchist1914 3 ай бұрын
The concepts are easy to understand, but it's still a great reference for beginners like me.
@Muhaiminul_coding_club
@Muhaiminul_coding_club 5 ай бұрын
thank you man,, this is cooler 😎 😎
@erekle99
@erekle99 Жыл бұрын
good!
@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
@trxlly
@trxlly Жыл бұрын
Thnxx
@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
@adam-vip
@adam-vip Жыл бұрын
👍👍👍
@durlabhbiswas860
@durlabhbiswas860 Жыл бұрын
Thanks Bro! It is in my syllabus and I am so doomed 💀
@to4698
@to4698 4 ай бұрын
🖐 Thanks a lot ! (❤,👍,🧔‍♂,🙋,🐝,🌼)
@markmilan57
@markmilan57 5 ай бұрын
Bro will you make a video about asyncio in python? It will be helpful a lot.
@nahomhailu961
@nahomhailu961 Жыл бұрын
Let's go Brooo
@rewardedwithemaan646
@rewardedwithemaan646 Жыл бұрын
Hey bro code, do you think you will make a full BASH play list? I.E suggesting
@decktoe
@decktoe Жыл бұрын
can u do in the next video lua video
@SasiKumar-un5zw
@SasiKumar-un5zw Жыл бұрын
Waiting for react tutorial...
@jubbed5826
@jubbed5826 Жыл бұрын
hello u can make video with Ruby (programming languages)
@ombhide9165
@ombhide9165 7 ай бұрын
Love U bro
@drewxx8527
@drewxx8527 Жыл бұрын
JavaScript: I'm more advanced than you Python: I'm Easy than you. Your giving people mentalbreak down
@kamal9294
@kamal9294 Жыл бұрын
Bro i want Artificial intelligence and machine learning in python or advanced python
@noahgsolomon
@noahgsolomon Жыл бұрын
Goat
@tee-hee9553
@tee-hee9553 Жыл бұрын
If you know please tell me how account store all its data.
@sherubawon1
@sherubawon1 Жыл бұрын
Curious..why use immutable for set and unchangeable for tuples if the words almost mean the same thing?
@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?
@nfsheat1456
@nfsheat1456 3 ай бұрын
sad for pineapple
@phanikiran9826
@phanikiran9826 5 ай бұрын
no, can't be that easy. In utter disbelief!
@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?
@misslaurenbecca
@misslaurenbecca 2 ай бұрын
omg. Why did they not teach us about help() on day 1 of college?
@godoy_
@godoy_ 29 күн бұрын
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!")
@nelsonphiri3473
@nelsonphiri3473 Жыл бұрын
hey man can you help me load a graph on GUI in java
@user-gl3uj7ts9o
@user-gl3uj7ts9o 2 ай бұрын
What if there is a multidimensional array?
@Ravi.Kumar-
@Ravi.Kumar- Жыл бұрын
Recursion pls😢
@lolman6976
@lolman6976 Жыл бұрын
please tell me your extensions on vs code
@krishwadhwani47
@krishwadhwani47 Жыл бұрын
I think he uses PyCharm.
@H3XED_OwO
@H3XED_OwO 6 ай бұрын
sounds a lot like sets in maths
@Mythiril
@Mythiril 9 ай бұрын
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?
@andrewamirzadeh7678
@andrewamirzadeh7678 Жыл бұрын
Whatever happened to the intro of “hey what’s going on everybody, it’s your bro here.”?!?!?!?
@nati2866
@nati2866 Жыл бұрын
Do you reply
@mcplayer7697
@mcplayer7697 Жыл бұрын
No
@Sk1pperCS
@Sk1pperCS 3 ай бұрын
5:11
@rockichannel3102
@rockichannel3102 Жыл бұрын
yes I am first...
@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.
@BUNNY-yh2wg
@BUNNY-yh2wg 3 ай бұрын
bro!!!! Sets are mutable sorry to correct , but it requires correction
@YouGotCAGEDyt
@YouGotCAGEDyt Жыл бұрын
Bro code❤
@peaklegacy146
@peaklegacy146 4 күн бұрын
Don't throw the pineapple out with the pizza
@lympexyt6969
@lympexyt6969 Жыл бұрын
AYO IM EARLY PLS GIB ME HEART
@BroCodez
@BroCodez Жыл бұрын
ok
@srijan6787
@srijan6787 6 ай бұрын
Bro said English is a weird language 🌚
@Hellmiauz
@Hellmiauz Ай бұрын
Sets are mutable. Fight me.
@kekons23
@kekons23 3 ай бұрын
Bro likes pineapples
@stickydamper
@stickydamper 4 ай бұрын
bro causally dissing English while making list
@javedsultan4830
@javedsultan4830 7 ай бұрын
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
Рет қаралды 196 М.
9 HOURS of Python Projects - From Beginner to Advanced
9:20:00
Tech With Tim
Рет қаралды 691 М.
100❤️
00:20
Nonomen ノノメン
Рет қаралды 73 МЛН
MEU IRMÃO FICOU FAMOSO
00:52
Matheus Kriwat
Рет қаралды 11 МЛН
Learn Python Classes With a Text-Based Battle - OOP Tutorial
15:25
Ork Slayer Gamedev
Рет қаралды 137 М.
5 Good Python Habits
17:35
Indently
Рет қаралды 373 М.
Functions in Python are easy 📞
10:38
Bro Code
Рет қаралды 395 М.
Python: Data Structures - Lists, Tuples, Sets & Dictionaries tutorial
19:01
Oggi AI - Artificial Intelligence Today
Рет қаралды 327 М.
How To Use List Comprehension In Python
6:41
Taylor's Software Solutions
Рет қаралды 4,3 М.
5 Useful Dunder Methods In Python
16:10
Indently
Рет қаралды 52 М.
Python 101: Learn the 5 Must-Know Concepts
20:00
Tech With Tim
Рет қаралды 1 МЛН
Python shopping cart program 🛒
7:14
Bro Code
Рет қаралды 91 М.
5 Useful F-String Tricks In Python
10:02
Indently
Рет қаралды 262 М.
Python Tutorial for Beginners 4: Lists, Tuples, and Sets
29:05
Corey Schafer
Рет қаралды 1,4 МЛН