Python Dictionaries and Sets for Beginners | Python tutorial

Поділитися
Вставка
  • Опубліковано 15 вер 2024

КОМЕНТАРІ • 34

  • @BakokoNelson
    @BakokoNelson 7 місяців тому +1

    My role model! love you sir

  • @005JR8
    @005JR8 Місяць тому

    Hi both copy and const method are creating shallow copies not deep copies

  • @lealembirhanu1678
    @lealembirhanu1678 Рік тому

    what an interesting video is this dave. thank you very much !!

  • @utinthein7274
    @utinthein7274 Рік тому +3

    Thank You Sir

  • @nomanshariq4165
    @nomanshariq4165 Рік тому

    Sir amazing course thank you for this gem 💎

  • @zoltanmolnar6956
    @zoltanmolnar6956 Рік тому +1

    Thank you for really amazing courses, first please finish this python and nextJs please do not start until React-Native. Python is the best choice and also nextJS13 nowadays, thank you

  • @mohamedmagdy-jy8vp
    @mohamedmagdy-jy8vp 6 місяців тому

    dave i have a question why in the order print band in 18:52 didn`t print the first band in the program and printed the one we just made it

  • @mortezafarhangpanah256
    @mortezafarhangpanah256 Рік тому +2

    Thank 1You Sir

  • @muzhaffarhaydar7928
    @muzhaffarhaydar7928 Місяць тому

    thanks dave

  • @lsteved
    @lsteved 8 місяців тому

    band["vocals"] = "Coverdale" Boo! haha
    Seriously though, great lessons.. and the Zeppelin examples actually helped!

  • @johnaweiss
    @johnaweiss 8 місяців тому

    6:29 You said each key/value pair is a tuple. Tuples can't be modified. So how can you modify a value in a dictionary?

  • @hussainalaa2361
    @hussainalaa2361 6 місяців тому

    i put in (morenums) numbers like (98, 71 ,51, and others), the sets doesnt set them in order in the (nums), it changes its order.

  • @ivanshugaev7146
    @ivanshugaev7146 7 місяців тому

    is "print(band["vocals"])" and "print(band.get("guitar"))" interchangeable?

  • @dickschweiger289
    @dickschweiger289 9 місяців тому

    Keep on going, you are good

  • @johnaweiss
    @johnaweiss 8 місяців тому

    22:53 You didn't test to see if `0 in nums` will find the False.

  • @AverageCoderOfficial
    @AverageCoderOfficial Рік тому

    Perfect Course

  • @7doors847
    @7doors847 Рік тому

    Another Tuesday Python delight! Beep beep🍹

  • @alexanderkomanov4151
    @alexanderkomanov4151 Рік тому

    As perfect as usual!

  • @sexy_audios
    @sexy_audios Рік тому

    Hi Dave, Thank You for amazing tutorials.
    Can we get a react native course?

    • @DaveGrayTeachesCode
      @DaveGrayTeachesCode  Рік тому

      I want to do that this year. 🚀

    • @zoltanmolnar6956
      @zoltanmolnar6956 Рік тому

      man, it just funny! He just started really cool python tut, and also nextJs13 tut, and you asking for react-native? he is maintaining 2! separate tutorial playlist FOR FREE ,so please let him first finish this amazing courses

    • @sexy_audios
      @sexy_audios Рік тому

      @@zoltanmolnar6956 Did i say He should start now?
      I just requested for a react native course.
      And ofcourse he will start whenever he is free he is already doing too much for us.

  • @utinthein7274
    @utinthein7274 Рік тому

    Sir, How to check values in band.
    I got error Sir.
    print('Plant' in band)

    • @DaveGrayTeachesCode
      @DaveGrayTeachesCode  Рік тому +1

      You can check the keys of a dictionary with the keyword in like:
      "vocals" in band
      If you want to check the values in a dictionary, consider using band.values() like:
      "Plant" in band.values()
      The values() method returns a list of the dictionary values, and we previously learned we can use the keyword in to check if a value is in a list.

    • @utinthein7274
      @utinthein7274 Рік тому

      Thank You, Sir

  • @ram_qr
    @ram_qr Рік тому

    👏👏👏👏👏

  • @willyhorizont8672
    @willyhorizont8672 Рік тому

    🐍🐍🐍🐍🐍🐍