Lists and Sets

Поделиться
HTML-код
  • Опубликовано: 17 ноя 2024

Комментарии • 30

  • @AishvaryaArun
    @AishvaryaArun Год назад +17

    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 года назад +18

    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 4 месяца назад +2

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

  • @meriid7017
    @meriid7017 29 дней назад

    Dhnaywaad

  • @MUTHU_KRISHNAN_K
    @MUTHU_KRISHNAN_K 4 месяца назад +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?

  • @054_nirajkumar3
    @054_nirajkumar3 3 года назад +5

    थैंक्यू

  • @abhinavprakashgupta89
    @abhinavprakashgupta89 2 года назад +1

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

  • @tatvakeswani8483
    @tatvakeswani8483 3 года назад +3

    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 4 месяца назад +1

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

    • @MUTHU_KRISHNAN_K
      @MUTHU_KRISHNAN_K 4 месяца назад +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 Месяц назад +1

      @@MUTHU_KRISHNAN_K Same bro😂😂

  • @shailxiitm
    @shailxiitm 3 года назад +7

    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 😂😂😂😆😆😅😅😅

  • @yazadpardiwala687
    @yazadpardiwala687 2 года назад +2

    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

  • @umarulf
    @umarulf 5 дней назад

    cool nd

  • @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 4 месяца назад +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 Год назад

    22:23