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:432:30 (conclusion) list vs set demonstration: 3:2012:11 difference: 15:32 (list) to 16:37 sys.getsizeof(): 18:5521:00 set object is not subscriptable: 22:22 when to use set and when to use list: 24:3024:48(s.add()) (set: 25:3025:44) (list: 25:5226:14)
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?
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?
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?
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)
@@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 ✨
I came here to learn python but Sudharshan Sir also gives life advise>>>>>:)😄
Truly. Life lessons that'll help us understand python and life simultaneously!
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)
0:16 is this week 6 content?🤔
We (may 2024 batch ) have this as week 4 content.
Dhnaywaad
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?
थैंक्यू
Sir how did you get the list of functions available for z when you wrote z.
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?
A Set has no order. Everytime you run the program, you might find them in a different order.
@@tejaskalluraya7788 Thank you! I saw it was mentioned in the later video "more on sets"
Thank you both for having made my life simpler.
I was banging my head with this doubt 😅
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?
@@MUTHU_KRISHNAN_K Same bro😂😂
I have tortured my google colab with big no.
then colab cry n said u have used all your ram
Bro, you won't believe, I was doing the same xD 😂😂😂😆😆😅😅😅
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)
bro can you tell what applicat]ion sir is using to code??
@@satpalsingh6168 Spyder
cool nd
4:30 omg, I always try to use Sudhir(Papa's name) instead of Sudarshan(sir),
Sir, use my papa name,
what a coincidence :)
Your dad has a very sweet name :-)
@@sudarshaniyengar8549 in google colab size of empty list is shown 72???
@@utkarsh7207 there will be differences :-). If you check my car and ambanis car the size will be different :-)
@@sudarshaniyengar1814Are sir 😅😅
@@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 ✨
22:23