Lists and Sets

Поділитися
Вставка
  • Опубліковано 24 жов 2024
  • Lists and Sets
    "Week: 6
    Topic: Lists and Sets" IIT Madras welcomes you to the world’s first BSc Degree program in Programming and Data Science. This program was designed for students and working professionals from various educational backgrounds and different age groups to give them an opportunity to study from IIT Madras without having to write the JEE. Through our online programs, we help our learners to get access to a world-class curriculum in Data Science and Programming.
    To know more about our Programs, please visit :
    BSc Degree in Programming and Data Science - onlinedegree.i...
    Diploma in Programming / Data Science - diploma.iitm.a...

КОМЕНТАРІ • 29

  • @AishvaryaArun
    @AishvaryaArun Рік тому +16

    I came here to learn python but Sudharshan Sir also gives life advise>>>>>:)😄

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

      Truly. Life lessons that'll help us understand python and life simultaneously!

  • @avenumadhav3568
    @avenumadhav3568 3 роки тому +17

    At the end of this video, the student will be able to do the following:
    1. Understand lists in more detail.
    2. Understand a new container - sets.
    3. Learn the differences between lists and sets.
    car-bus analogy: 0:43 2:30 (conclusion)
    list vs set demonstration: 3:20 12:11
    difference: 15:32 (list) to 16:37
    sys.getsizeof(): 18:55 21:00
    set object is not subscriptable: 22:22
    when to use set and when to use list: 24:30 24:48(s.add()) (set: 25:30 25:44) (list: 25:52 26:14)

  • @MUTHU_KRISHNAN_K
    @MUTHU_KRISHNAN_K 3 місяці тому +2

    0:16 is this week 6 content?🤔
    We (may 2024 batch ) have this as week 4 content.

  • @MUTHU_KRISHNAN_K
    @MUTHU_KRISHNAN_K 3 місяці тому +1

    at 10:02 , besides the absence of repetition of the numbers, they are in ascending order.is it true every time? what if we combine both numbers and alphabets?

  • @meriid7017
    @meriid7017 4 дні тому

    Dhnaywaad

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

    Sir how did you get the list of functions available for z when you wrote z.

  • @054_nirajkumar3
    @054_nirajkumar3 3 роки тому +5

    थैंक्यू

  • @tatvakeswani8483
    @tatvakeswani8483 3 роки тому +2

    25:08 Why does z.add() add the element to the middle of the set? If you do a for loop for all elements in a list and add list[i] to the set, will it not be in order in the set?

    • @tejaskalluraya7788
      @tejaskalluraya7788 3 роки тому +4

      A Set has no order. Everytime you run the program, you might find them in a different order.

    • @tatvakeswani8483
      @tatvakeswani8483 3 роки тому +2

      @@tejaskalluraya7788 Thank you! I saw it was mentioned in the later video "more on sets"

    • @MUTHU_KRISHNAN_K
      @MUTHU_KRISHNAN_K 3 місяці тому +1

      Thank you both for having made my life simpler.
      I was banging my head with this doubt 😅

    • @MUTHU_KRISHNAN_K
      @MUTHU_KRISHNAN_K 3 місяці тому +1

      Btw, at 10:02 , besides the absence of repetition of the numbers, they are in ascending order.is it true every time? what if we combine both numbers and alphabets?

    • @govindagarwal3244
      @govindagarwal3244 8 днів тому +1

      @@MUTHU_KRISHNAN_K Same bro😂😂

  • @yazadpardiwala687
    @yazadpardiwala687 2 роки тому +1

    22:59 Weirdly this made me think of communism. There is no definable individual within the collective of the set. There is a definable individual within the list. (not meant to be political, although a part of me very much wants to - just a neat analog to remember it by)

    • @satpalsingh6168
      @satpalsingh6168 2 роки тому

      bro can you tell what applicat]ion sir is using to code??

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

      @@satpalsingh6168 Spyder

  • @shailxiitm
    @shailxiitm 3 роки тому +6

    I have tortured my google colab with big no.
    then colab cry n said u have used all your ram

    • @amanupadhyay3004
      @amanupadhyay3004 3 роки тому +1

      Bro, you won't believe, I was doing the same xD 😂😂😂😆😆😅😅😅

  • @shailxiitm
    @shailxiitm 3 роки тому +5

    4:30 omg, I always try to use Sudhir(Papa's name) instead of Sudarshan(sir),
    Sir, use my papa name,
    what a coincidence :)

    • @sudarshaniyengar8549
      @sudarshaniyengar8549 3 роки тому +13

      Your dad has a very sweet name :-)

    • @utkarsh7207
      @utkarsh7207 2 роки тому

      @@sudarshaniyengar8549 in google colab size of empty list is shown 72???

    • @sudarshaniyengar1814
      @sudarshaniyengar1814 2 роки тому +11

      @@utkarsh7207 there will be differences :-). If you check my car and ambanis car the size will be different :-)

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

      ​@@sudarshaniyengar1814Are sir 😅😅

    • @MUTHU_KRISHNAN_K
      @MUTHU_KRISHNAN_K 3 місяці тому +2

      ​@@sudarshaniyengar1814I am so proud and honoured to have you as our professor sir 🙏
      Many students like me are cherishing these lectures like a treasure even after 3 years.
      Thank you very much ✨

  • @PRIYANSHURAJ-q7u
    @PRIYANSHURAJ-q7u 11 місяців тому

    22:23