Lists and Sets

  Рет қаралды 37,440

IIT Madras - B.S. Degree Programme

IIT Madras - B.S. Degree Programme

Күн бұрын

Пікірлер: 30
@avenumadhav3568
@avenumadhav3568 3 жыл бұрын
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
@AishvaryaArun Жыл бұрын
I came here to learn python but Sudharshan Sir also gives life advise>>>>>:)😄
@vasugupta_404
@vasugupta_404 Жыл бұрын
Truly. Life lessons that'll help us understand python and life simultaneously!
@MUTHU_KRISHNAN_K
@MUTHU_KRISHNAN_K 6 ай бұрын
0:16 is this week 6 content?🤔 We (may 2024 batch ) have this as week 4 content.
@MUTHU_KRISHNAN_K
@MUTHU_KRISHNAN_K 6 ай бұрын
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?
@abhinavprakashgupta89
@abhinavprakashgupta89 2 жыл бұрын
Sir how did you get the list of functions available for z when you wrote z.
@054_nirajkumar3
@054_nirajkumar3 3 жыл бұрын
थैंक्यू
@tatvakeswani8483
@tatvakeswani8483 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 жыл бұрын
A Set has no order. Everytime you run the program, you might find them in a different order.
@tatvakeswani8483
@tatvakeswani8483 3 жыл бұрын
@@tejaskalluraya7788 Thank you! I saw it was mentioned in the later video "more on sets"
@MUTHU_KRISHNAN_K
@MUTHU_KRISHNAN_K 6 ай бұрын
Thank you both for having made my life simpler. I was banging my head with this doubt 😅
@MUTHU_KRISHNAN_K
@MUTHU_KRISHNAN_K 6 ай бұрын
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 3 ай бұрын
@@MUTHU_KRISHNAN_K Same bro😂😂
@yazadpardiwala687
@yazadpardiwala687 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
@meriid7017
@meriid7017 2 ай бұрын
Dhnaywaad
@shailxiitm
@shailxiitm 3 жыл бұрын
I have tortured my google colab with big no. then colab cry n said u have used all your ram
@amanupadhyay3004
@amanupadhyay3004 3 жыл бұрын
Bro, you won't believe, I was doing the same xD 😂😂😂😆😆😅😅😅
@PRIYANSHURAJ-q7u
@PRIYANSHURAJ-q7u Жыл бұрын
22:23
@umarulf
@umarulf 2 ай бұрын
cool nd
@shailxiitm
@shailxiitm 3 жыл бұрын
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 жыл бұрын
Your dad has a very sweet name :-)
@utkarsh7207
@utkarsh7207 2 жыл бұрын
@@sudarshaniyengar8549 in google colab size of empty list is shown 72???
@sudarshaniyengar1814
@sudarshaniyengar1814 2 жыл бұрын
@@utkarsh7207 there will be differences :-). If you check my car and ambanis car the size will be different :-)
@staggeredextreme8213
@staggeredextreme8213 Жыл бұрын
​@@sudarshaniyengar1814Are sir 😅😅
@MUTHU_KRISHNAN_K
@MUTHU_KRISHNAN_K 6 ай бұрын
​@@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 ✨
Dictionaries
47:06
IIT Madras - B.S. Degree Programme
Рет қаралды 43 М.
More on Lists
21:40
IIT Madras - B.S. Degree Programme
Рет қаралды 27 М.
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН
Правильный подход к детям
00:18
Beatrise
Рет қаралды 11 МЛН
Naming Things in Code
7:25
CodeAesthetic
Рет қаралды 2,3 МЛН
one year of studying (it was a mistake)
12:51
Jeffrey Codes
Рет қаралды 168 М.
Python Hash Sets Explained & Demonstrated - Computerphile
18:39
Computerphile
Рет қаралды 124 М.
Warmup with Lists
12:17
IIT Madras - B.S. Degree Programme
Рет қаралды 42 М.
Tuples
20:28
IIT Madras - B.S. Degree Programme
Рет қаралды 29 М.
The Genius Way Computers Multiply Big Numbers
22:04
PurpleMind
Рет қаралды 284 М.
ML Was Hard Until I Learned These 5 Secrets!
13:11
Boris Meinardus
Рет қаралды 355 М.
Introduction to Binary Search
14:41
IIT Madras - B.S. Degree Programme
Рет қаралды 22 М.
Microservices are Technical Debt
31:59
NeetCodeIO
Рет қаралды 734 М.
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН