Python lists, sets, and tuples explained 🍍

#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
    @jcoronav6 ай бұрын

    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
    @mayracarreno41234 ай бұрын

    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.

  • @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.

  • @ShadowCodeX
    @ShadowCodeX5 ай бұрын

    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

  • @yanasitta
    @yanasitta5 ай бұрын

    I really enjoyed and learned a lot quickly from this video. Easy to follow and concise. Thank you.

  • @kaungbhonethant
    @kaungbhonethantАй бұрын

    I've been looking a python course like this and finally I've found this. I love you bro code.

  • @jayman8001
    @jayman8001 Жыл бұрын

    This was incredibly useful and easy to understand. Thank you sir.

  • @fbushphone
    @fbushphoneАй бұрын

    You're the man, thank you for freely sharing your knowledge it is much appreciated

  • @JDgiggles
    @JDgiggles7 ай бұрын

    Thank you so much for these videos. I yearn to become a programmer, and this really helps.

  • @ptd3v
    @ptd3vАй бұрын

    This is easily the best video on this topic out there.

  • @HishamButt-ue5rc
    @HishamButt-ue5rc Жыл бұрын

    you earned a new sub! excellent teacher was struggling with these!

  • @cozycubix
    @cozycubix11 ай бұрын

    Thanks, Good Job Professionally delivered.

  • @hirootto2771
    @hirootto27714 ай бұрын

    I had to leave a thanks, your video is really well explained and easy to understand

  • @lal_1404
    @lal_14043 ай бұрын

    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.🙏

  • @al-cadaalachannel3194
    @al-cadaalachannel3194 Жыл бұрын

    Teacher thanks. If you finished this course teach us python for advanced

  • @SHREYASPATEL-wh1ki
    @SHREYASPATEL-wh1ki2 ай бұрын

    amazing explaination sir thank you so much....

  • @jatauinnocent7956
    @jatauinnocent79568 ай бұрын

    I am truly educated with the lesson

  • @_Tomaszeq
    @_Tomaszeq2 ай бұрын

    Thanks bro for lists and all these collections, you are master

  • @MannyBernabe
    @MannyBernabe9 ай бұрын

    I like the collection framing. Helpful.

  • @user-we7gq1zy4o
    @user-we7gq1zy4o5 ай бұрын

    Bro you explained well and very easily now i realise now I'm learning

  • @mlfreak2471
    @mlfreak24717 ай бұрын

    Amazingly well explained

  • @user-wu5fm9vi6f
    @user-wu5fm9vi6f Жыл бұрын

    why is this video way better than my 1k uni course

  • @thinkandquestion1305
    @thinkandquestion1305Ай бұрын

    A great tutorial. Thanks

  • @TN61GAMER
    @TN61GAMER Жыл бұрын

    Waiting for this video 🤗🎉

  • @wrtreinador
    @wrtreinador4 ай бұрын

    Clear explanation, thank you.

  • @kieljnsz
    @kieljnsz18 күн бұрын

    This is amazing. Thanks!

  • @JoaoLima-pq1hm
    @JoaoLima-pq1hm10 ай бұрын

    Excellent work, 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.

  • @altarious7251
    @altarious72518 ай бұрын

    great lesson

  • @sanunitwaibu529
    @sanunitwaibu5297 ай бұрын

    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.

  • @311DaveR
    @311DaveR4 ай бұрын

    Awesome - great job

  • @jasonn5196
    @jasonn519616 күн бұрын

    Wow you are good. Spot on!

  • @bekkhanh
    @bekkhanh Жыл бұрын

    brief and easy to remember :)

  • @trecyodede8337
    @trecyodede8337Күн бұрын

    Great tutorial!

  • @balkanarchist1914
    @balkanarchist19143 ай бұрын

    The concepts are easy to understand, but it's still a great reference for beginners like me.

  • @KatRollo
    @KatRollo3 ай бұрын

    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.

  • @augustinejoseph4302
    @augustinejoseph4302 Жыл бұрын

    great 👍👍👍

  • @aritradas6588
    @aritradas6588 Жыл бұрын

    Love your videos bro

  • @LauwaliIsaDk
    @LauwaliIsaDk Жыл бұрын

    I like your style bro.

  • @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

  • @Muhaiminul_coding_club
    @Muhaiminul_coding_club4 ай бұрын

    thank you man,, this is cooler 😎 😎

  • @markmilan57
    @markmilan575 ай бұрын

    Bro will you make a video about asyncio in python? It will be helpful a lot.

  • @gencmuhendis8401
    @gencmuhendis84017 күн бұрын

    Thank you!

  • @imnxf6137
    @imnxf61372 ай бұрын

    Thank you, Sir

  • @ISOPOINTQCS
    @ISOPOINTQCSКүн бұрын

    THANK YOU !

  • @ranjithramanathan7663
    @ranjithramanathan76638 ай бұрын

    nice

  • @binarycloud1843
    @binarycloud18435 ай бұрын

    Good stuff!!

  • @jubbed5826
    @jubbed5826 Жыл бұрын

    hello u can make video with Ruby (programming languages)

  • @beforechrist1193
    @beforechrist1193 Жыл бұрын

    Best bro ever

  • @3MILFOR3VER
    @3MILFOR3VER Жыл бұрын

    Thank you

  • @tara2337
    @tara23373 ай бұрын

    GREAT!!

  • @erekle99
    @erekle99 Жыл бұрын

    good!

  • @sherubawon1
    @sherubawon1 Жыл бұрын

    Curious..why use immutable for set and unchangeable for tuples if the words almost mean the same thing?

  • @to4698
    @to46984 ай бұрын

    🖐 Thanks a lot ! (❤,👍,🧔‍♂,🙋,🐝,🌼)

  • @durlabhbiswas860
    @durlabhbiswas860 Жыл бұрын

    Thanks Bro! It is in my syllabus and I am so doomed 💀

  • @trxlly
    @trxlly Жыл бұрын

    Thnxx

  • @decktoe
    @decktoe Жыл бұрын

    can u do in the next video lua video

  • @SasiKumar-un5zw
    @SasiKumar-un5zw Жыл бұрын

    Waiting for react tutorial...

  • @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?

  • @godoy_
    @godoy_27 күн бұрын

    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!")

  • @nahomhailu961
    @nahomhailu961 Жыл бұрын

    Let's go Brooo

  • @kamal9294
    @kamal9294 Жыл бұрын

    Bro i want Artificial intelligence and machine learning in python or advanced python

  • @tee-hee9553
    @tee-hee9553 Жыл бұрын

    If you know please tell me how account store all its data.

  • @rontarrant
    @rontarrant3 ай бұрын

    Just off the top of my head, I can't think of any practical use for a set. Your thoughts?

  • @ombhide9165
    @ombhide91657 ай бұрын

    Love U bro

  • @drewxx8527
    @drewxx8527 Жыл бұрын

    JavaScript: I'm more advanced than you Python: I'm Easy than you. Your giving people mentalbreak down

  • @adam-vip
    @adam-vip Жыл бұрын

    👍👍👍

  • @Mhe_Lan
    @Mhe_Lan7 ай бұрын

    Do you have ARRAYS in python?

  • @rockichannel3102
    @rockichannel3102 Жыл бұрын

    yes I am first...

  • @lympexyt6969
    @lympexyt6969 Жыл бұрын

    AYO IM EARLY PLS GIB ME HEART

  • @BroCodez

    @BroCodez

    Жыл бұрын

    ok

  • @Mythiril
    @Mythiril9 ай бұрын

    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?

  • @user-gl3uj7ts9o
    @user-gl3uj7ts9o2 ай бұрын

    What if there is a multidimensional array?

  • @noahgsolomon
    @noahgsolomon Жыл бұрын

    Goat

  • @nelsonphiri3473
    @nelsonphiri3473 Жыл бұрын

    hey man can you help me load a graph on GUI in java

  • @misslaurenbecca
    @misslaurenbecca2 ай бұрын

    omg. Why did they not teach us about help() on day 1 of college?

  • @phanikiran9826
    @phanikiran98265 ай бұрын

    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.

  • @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.”?!?!?!?

  • @nfsheat1456
    @nfsheat14563 ай бұрын

    sad for pineapple

  • @H3XED_OwO
    @H3XED_OwO6 ай бұрын

    sounds a lot like sets in maths

  • @nati2866
    @nati2866 Жыл бұрын

    Do you reply

  • @mcplayer7697

    @mcplayer7697

    Жыл бұрын

    No

  • @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-yh2wg3 ай бұрын

    bro!!!! Sets are mutable sorry to correct , but it requires correction

  • @Sk1pperCS
    @Sk1pperCS3 ай бұрын

    5:11

  • @YouGotCAGEDyt
    @YouGotCAGEDyt Жыл бұрын

    Bro code❤

  • @peaklegacy146
    @peaklegacy146Күн бұрын

    Don't throw the pineapple out with the pizza

  • @srijan6787
    @srijan67876 ай бұрын

    Bro said English is a weird language 🌚

  • @kekons23
    @kekons233 ай бұрын

    Bro likes pineapples

  • @Hellmiauz
    @HellmiauzАй бұрын

    Sets are mutable. Fight me.

  • @stickydamper
    @stickydamper4 ай бұрын

    bro causally dissing English while making list

  • @javedsultan4830
    @javedsultan48307 ай бұрын

    genius

  • @jingboss1234
    @jingboss1234 Жыл бұрын

    ǫ̴̢̨̛̛̦̦̝̗̫͈͚̰̙͎̜͕̜̻̘͚̗͕̥͉͇̥̫͉̳̪͂͑̅̔̀̀̎̓̈́̓͑͆̓̈̈́̂̑͑͑̍̃̑͌͋̈́̂͊͗́͒͌̉̈́͆̾͊͑̇̃͛͒̄̐̄̊͆̎̈́̋̏̋̏̈́̽̓͗̅͑̎̈́̂̈́̍́́̋̑̈́̀́̅͑̓̃̓̽̃̅́͋́͊͗̃͂̌̅̈́̿̓̒̆̌͊̽̀̿̀̈̎́̈́̉̊̏̽̃̏̀̎̽́̍̐̊̄̊̓͛̕͘̕͘̚̚͘͘̚̕͘͘̚̕̚͝͝͠͝͝͝͝͠͝h̶̡̢̢̢̨̧̛̜̬͕̼̮̪̜̞̮̤̬̱̘͔̮͍̱̩̩̫̹̳̯͖͔̦͉̼̗͖̤͎̞͈̗̠͔̺͍̜͇̪̭͉̖͚̣̩̗̤͓̜̠̦̳͇͕͖͔̭̥͕̼͎̟͓̲̯̪͔̫̀̊̊͆̍͛̅̄̅̾̍̓̑̉͛͐̿̃̂̋̀͂́͑̏̔̉̐̔͛̆͛̓̇̋̐͊̒̋͛͛̋̀̅̏̉̑̋̇͘̚̚͜͜͠͠

  • @user-ul9ld1ui4n

    @user-ul9ld1ui4n

    5 ай бұрын

    hi friends I want to become an engineer how can come up