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)
@AishvaryaArun Жыл бұрын
I came here to learn python but Sudharshan Sir also gives life advise>>>>>:)😄
@vasugupta_404 Жыл бұрын
Truly. Life lessons that'll help us understand python and life simultaneously!
@MUTHU_KRISHNAN_K6 ай бұрын
0:16 is this week 6 content?🤔 We (may 2024 batch ) have this as week 4 content.
@MUTHU_KRISHNAN_K6 ай бұрын
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?
@abhinavprakashgupta892 жыл бұрын
Sir how did you get the list of functions available for z when you wrote z.
@054_nirajkumar33 жыл бұрын
थैंक्यू
@tatvakeswani84833 жыл бұрын
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?
@tejaskalluraya77883 жыл бұрын
A Set has no order. Everytime you run the program, you might find them in a different order.
@tatvakeswani84833 жыл бұрын
@@tejaskalluraya7788 Thank you! I saw it was mentioned in the later video "more on sets"
@MUTHU_KRISHNAN_K6 ай бұрын
Thank you both for having made my life simpler. I was banging my head with this doubt 😅
@MUTHU_KRISHNAN_K6 ай бұрын
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?
@govindagarwal32443 ай бұрын
@@MUTHU_KRISHNAN_K Same bro😂😂
@yazadpardiwala6872 жыл бұрын
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)
@satpalsingh61682 жыл бұрын
bro can you tell what applicat]ion sir is using to code??
@vasugupta_404 Жыл бұрын
@@satpalsingh6168 Spyder
@meriid70172 ай бұрын
Dhnaywaad
@shailxiitm3 жыл бұрын
I have tortured my google colab with big no. then colab cry n said u have used all your ram
@amanupadhyay30043 жыл бұрын
Bro, you won't believe, I was doing the same xD 😂😂😂😆😆😅😅😅
@PRIYANSHURAJ-q7u Жыл бұрын
22:23
@umarulf2 ай бұрын
cool nd
@shailxiitm3 жыл бұрын
4:30 omg, I always try to use Sudhir(Papa's name) instead of Sudarshan(sir), Sir, use my papa name, what a coincidence :)
@sudarshaniyengar85493 жыл бұрын
Your dad has a very sweet name :-)
@utkarsh72072 жыл бұрын
@@sudarshaniyengar8549 in google colab size of empty list is shown 72???
@sudarshaniyengar18142 жыл бұрын
@@utkarsh7207 there will be differences :-). If you check my car and ambanis car the size will be different :-)
@staggeredextreme8213 Жыл бұрын
@@sudarshaniyengar1814Are sir 😅😅
@MUTHU_KRISHNAN_K6 ай бұрын
@@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 ✨