Python lists, sets, and tuples explained 🍍

Sdílet
Vložit
  • čas přidán 20. 06. 2024
  • #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

Komentáře • 126

  • @BroCodez
    @BroCodez  Před rokem +143

    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

  • @jcoronav
    @jcoronav Před 6 měsíci +43

    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 Před rokem +104

    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!

  • @mayracarreno4123
    @mayracarreno4123 Před 4 měsíci +8

    man, I've never learned code's topics this fast and clear, THANK YOU!!!

  • @HelicopterRidesForCommunists

    Love the nice, clear, concise, and easy to understand style of your teaching.

  • @shocky6302
    @shocky6302 Před rokem +30

    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!

  • @ShadowVortez
    @ShadowVortez Před 5 měsíci +1

    You're the only guy who explains the Python to my understanding. Tnx very much😊

  • @jayman8001
    @jayman8001 Před rokem +4

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

  • @witwoowitwoo2287
    @witwoowitwoo2287 Před rokem +2

    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 Před měsícem +2

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

  • @mohammadnoori9278
    @mohammadnoori9278 Před rokem +5

    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 Před rokem +1

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

  • @TN61GAMER
    @TN61GAMER Před rokem +1

    Waiting for this video 🤗🎉

  • @cozycubix
    @cozycubix Před 11 měsíci +1

    Thanks, Good Job
    Professionally delivered.

  • @ptd3v
    @ptd3v Před měsícem +1

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

  • @yanasitta
    @yanasitta Před 5 měsíci

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

  • @mlfreak2471
    @mlfreak2471 Před 7 měsíci

    Amazingly well explained

  • @MannyBernabe
    @MannyBernabe Před 10 měsíci

    I like the collection framing. Helpful.

  • @JDgiggles
    @JDgiggles Před 8 měsíci

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

  • @augustinejoseph4302
    @augustinejoseph4302 Před rokem

    great 👍👍👍

  • @fbushphone
    @fbushphone Před 2 měsíci

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

  • @altarious7251
    @altarious7251 Před 8 měsíci

    great lesson

  • @311DaveR
    @311DaveR Před 4 měsíci

    Awesome - great job

  • @user-wu5fm9vi6f
    @user-wu5fm9vi6f Před rokem +5

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

  • @thinkandquestion1305
    @thinkandquestion1305 Před měsícem

    A great tutorial. Thanks

  • @trecyodede8337
    @trecyodede8337 Před 5 dny

    Great tutorial!

  • @JoaoLima-pq1hm
    @JoaoLima-pq1hm Před 11 měsíci

    Excellent work, bro

  • @SHREYASPATEL-wh1ki
    @SHREYASPATEL-wh1ki Před 2 měsíci

    amazing explaination sir thank you so much....

  • @jatauinnocent7956
    @jatauinnocent7956 Před 8 měsíci

    I am truly educated with the lesson

  • @wrtreinador
    @wrtreinador Před 4 měsíci

    Clear explanation, thank you.

  • @kieljnsz
    @kieljnsz Před 22 dny

    This is amazing. Thanks!

  • @aritradas6588
    @aritradas6588 Před rokem +1

    Love your videos bro

  • @jasonn5196
    @jasonn5196 Před 21 dnem

    Wow you are good. Spot on!

  • @binarycloud1843
    @binarycloud1843 Před 5 měsíci

    Good stuff!!

  • @hirootto2771
    @hirootto2771 Před 4 měsíci

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

  • @_Tomaszeq
    @_Tomaszeq Před 3 měsíci

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

  • @zr0724
    @zr0724 Před rokem +8

    bro please
    make a video on how to make your java program use internet protocols and other stuff like API of WhatsApp , etc.

  • @ranjithramanathan7663
    @ranjithramanathan7663 Před 9 měsíci +1

    nice

  • @tara2337
    @tara2337 Před 3 měsíci

    GREAT!!

  • @bekkhanh
    @bekkhanh Před rokem

    brief and easy to remember :)

  • @gencmuhendis8401
    @gencmuhendis8401 Před 11 dny

    Thank you!

  • @user-we7gq1zy4o
    @user-we7gq1zy4o Před 5 měsíci

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

  • @ISOPOINTQCS
    @ISOPOINTQCS Před 5 dny

    THANK YOU !

  • @imnxf6137
    @imnxf6137 Před 2 měsíci

    Thank you, Sir

  • @godoy_
    @godoy_ Před měsícem

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

  • @erekle99
    @erekle99 Před rokem

    good!

  • @beforechrist1193
    @beforechrist1193 Před rokem +2

    Best bro ever

  • @al-cadaalachannel3194

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

  • @trxlly
    @trxlly Před rokem

    Thnxx

  • @LauwaliIsaDk
    @LauwaliIsaDk Před rokem

    I like your style bro.

  • @3MILFOR3VER
    @3MILFOR3VER Před rokem

    Thank you

  • @lal_1404
    @lal_1404 Před 3 měsíci

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

  • @nahomhailu961
    @nahomhailu961 Před rokem

    Let's go Brooo

  • @Muhaiminul_coding_club
    @Muhaiminul_coding_club Před 5 měsíci

    thank you man,, this is cooler 😎 😎

  • @balkanarchist1914
    @balkanarchist1914 Před 3 měsíci

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

  • @KatRollo
    @KatRollo Před 3 měsíci +1

    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.

  • @adam-vip
    @adam-vip Před rokem

    👍👍👍

  • @ombhide9165
    @ombhide9165 Před 7 měsíci

    Love U bro

  • @sanunitwaibu529
    @sanunitwaibu529 Před 7 měsíci

    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.

  • @user-qf4ot7kc4x
    @user-qf4ot7kc4x Před rokem

    feel bad for you, this useful material don't getting views, but thank you for teaching us (and me actually) coding

  • @rewardedwithemaan646
    @rewardedwithemaan646 Před rokem

    Hey bro code, do you think you will make a full BASH play list?
    I.E suggesting

  • @rockichannel3102
    @rockichannel3102 Před rokem +1

    yes I am first...

  • @jubbed5826
    @jubbed5826 Před rokem

    hello
    u can make video with
    Ruby (programming languages)

  • @to4698
    @to4698 Před 4 měsíci

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

  • @noahgsolomon
    @noahgsolomon Před rokem

    Goat

  • @markmilan57
    @markmilan57 Před 5 měsíci

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

  • @decktoe
    @decktoe Před rokem +1

    can u do in the next video lua video

  • @SasiKumar-un5zw
    @SasiKumar-un5zw Před rokem

    Waiting for react tutorial...

  • @Pgertse7
    @Pgertse7 Před rokem

    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?

  • @sherubawon1
    @sherubawon1 Před rokem

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

  • @durlabhbiswas860
    @durlabhbiswas860 Před rokem

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

  • @lympexyt6969
    @lympexyt6969 Před rokem +1

    AYO IM EARLY PLS GIB ME HEART

  • @drewxx8527
    @drewxx8527 Před rokem +2

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

  • @tee-hee9553
    @tee-hee9553 Před rokem

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

  • @kamal9294
    @kamal9294 Před rokem +2

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

  • @nfsheat1456
    @nfsheat1456 Před 4 měsíci +3

    sad for pineapple

  • @Mhe_Lan
    @Mhe_Lan Před 8 měsíci

    Do you have ARRAYS in python?

  • @rontarrant
    @rontarrant Před 3 měsíci

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

  • @user-gl3uj7ts9o
    @user-gl3uj7ts9o Před 3 měsíci

    What if there is a multidimensional array?

  • @nelsonphiri3473
    @nelsonphiri3473 Před rokem

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

  • @lolman6976
    @lolman6976 Před rokem +1

    please tell me your extensions on vs code

  • @misslaurenbecca
    @misslaurenbecca Před 2 měsíci

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

  • @Mythiril
    @Mythiril Před 9 měsíci

    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?

  • @phanikiran9826
    @phanikiran9826 Před 5 měsíci

    no, can't be that easy. In utter disbelief!

  • @andrewamirzadeh7678
    @andrewamirzadeh7678 Před rokem

    Whatever happened to the intro of “hey what’s going on everybody, it’s your bro here.”?!?!?!?

  • @Ravi.Kumar-
    @Ravi.Kumar- Před rokem

    Recursion pls😢

  • @Sk1pperCS
    @Sk1pperCS Před 3 měsíci

    5:11

  • @H3XED_OwO
    @H3XED_OwO Před 6 měsíci

    sounds a lot like sets in maths

  • @BUNNY-yh2wg
    @BUNNY-yh2wg Před 3 měsíci +2

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

  • @nati2866
    @nati2866 Před rokem +4

    Do you reply

  • @peaklegacy146
    @peaklegacy146 Před 6 dny

    Don't throw the pineapple out with the pizza

  • @kekons23
    @kekons23 Před 4 měsíci

    Bro likes pineapples

  • @vladimirtsyapka3277
    @vladimirtsyapka3277 Před rokem +1

    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 Před rokem

    Bro code❤

  • @Hellmiauz
    @Hellmiauz Před měsícem

    Sets are mutable. Fight me.

  • @srijan6787
    @srijan6787 Před 6 měsíci

    Bro said English is a weird language 🌚

  • @stickydamper
    @stickydamper Před 4 měsíci

    bro causally dissing English while making list

  • @javedsultan4830
    @javedsultan4830 Před 7 měsíci

    genius

  • @jingboss1234
    @jingboss1234 Před rokem

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

    • @user-ul9ld1ui4n
      @user-ul9ld1ui4n Před 6 měsíci

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