Good Part is...He is intelligently explaining the series without confusing the people who already learnt other languages
@gayatripareek13454 жыл бұрын
So..truee❤❤
@elliplunar51104 жыл бұрын
He is really smoothhhhh.
@messiahtheo72293 жыл бұрын
instablaster
@betecieai6 жыл бұрын
Set is collection of unique elements, like in list if you repeat something i.e some number like 12 then it is repeated again, but in sets if you write 12 number 2 times then it will display only once, so this is 1st one. 2nd one is set is working on concept of hash, where list not working on concept of hash! 3rd one is in sets index number is not working, because sets can't maintain sequence, but list maintain sequence, eo index number is working in list! So these are some of difference between set and list! Thank you!
@II_xD_II6 жыл бұрын
:clap:
@ShivamPanchbhai5 жыл бұрын
eo ? and what is hash concept ?
@naveenvelusamy56015 жыл бұрын
Super Bro 👏👏
@BharathKumar-rq7ef5 жыл бұрын
if set has no index then how the pop operation works on it which index element will he popped
@karolinpreethy84345 жыл бұрын
can u explain hash concept
@yatinkathuria51984 жыл бұрын
Set is the collection of non repeated elements while list is the collection of any type of element and any number of times. Set is define by { } List is define by [ ]
@gowthamgupta1238 Жыл бұрын
Tuples by ()
@niranjanns8704 Жыл бұрын
And one more thing, set never follows sequence whereas lists follows sequence
@danieltochi5087 Жыл бұрын
@@niranjanns8704 You mean they don't follow a sequence right? I hope that is what you mean.
@skelpton4227 Жыл бұрын
Also, sets can't use index function while list can.
@ManlyMadhu12311 ай бұрын
and Set is Immutable and List Muttable
@pradeepchauhan91846 жыл бұрын
you are hardworking for editing video as well...Thank you sir...you can provide "donation" options, you work hard for us, you deserve it.
@msrikavya96514 жыл бұрын
Donate him in his patreon, ID - navinreddy20
@pranav9339 Жыл бұрын
Thank you Navin. I'm again revisiting this series after 3 years to brush up my basics, still this is afresh and I learn new things.
@Ajaysaini0812 жыл бұрын
1. Set is collection of objects which is shows in curly brackets{} wher list shows in square brackets[] 2. Set is collection of objects where repeation of objects is not allowed but in list repeation of objects is allowed. 3. In set indexing and slicing operation not applied bcz in set sequence is not defined but list performs indexing and slicing.
@abhishekjadhav73404 жыл бұрын
the only lectures where i cant be bored off , simply awesome to understand , python is really a fun having languages
@lankeshsaraswat18864 жыл бұрын
em in 11th nd i never thought that I could learn python in such a simple way.... Thank you sir for this.... Best teacher of python i ever seen
@neotrackproduction3751 Жыл бұрын
i love the way he gets every little detail and explains it perfectly without any confussion i ussually dont like teachers but this one i love
@nivathamuthuraman51193 жыл бұрын
To prove this sentence you are here I think so, " best teachers teach from the heart, not from the book " such a nice job, and thank you soo much
@pawanjakke73924 жыл бұрын
Differences Set: no order,immutable,flower braces,no duplicates allowed List:order,muttable,closed braces
@MdSazol-rw3zf4 жыл бұрын
duplicates allowed but counts as one
@gauravbisht96224 жыл бұрын
Bro i think set is mutable
@aarathakkar27204 жыл бұрын
Sets are mutable
@mohankumar95114 жыл бұрын
Sets are immutable we can able to add or remove a item from it but we can able to change any value because it doesn't maintain the sequence
@SwapnadeepMukherjee3 жыл бұрын
Both are mutable bro.
@Pen_Da4 жыл бұрын
I am a beginner in learning code and it has been an incredible journey so for. I understand EVERYTHING Navin is saying. Great work, sir
@pwrshashank9 ай бұрын
after 3 years how's it going on for you
@PositiveVibes-1-810 ай бұрын
List - different elements like int string ,float ...mutable and can modify [ 1,23.2,'hi'] Set - same like list {} it is unique can't sort
@ob76065 жыл бұрын
Shot for the course, being managing Production, Test and Development teams for 15 years, decided this is the year I start learning how to code, so far so good! Last time I touched any form of code was Turbo Pascal in 1990 ! @ Lesson 7 and easy enough to understand!
@swethasundaram043 жыл бұрын
Hands down the best coaching ever! :) Keep the work up.
@ramnathbv13856 жыл бұрын
Ur video is very simple to learn...U know the trick of magnetic interaction with students very well.. Eagerly waiting for more and more videos bro
@himanshubishtt5 жыл бұрын
Best python tutorial on KZbin ❤️
@abdulsamadbsse4015 жыл бұрын
Naveen sir , i am from pakistan i really like your videos . thank you sir , without you it wouldnot be that easy..
@terabaap58749 ай бұрын
A list is an ordered collection of elements that allows duplicate values, while a set is an unordered collection of unique elements. Lists are mutable, meaning you can change, add, or remove elements. Sets are also mutable, but they have built-in methods for set operations like union, intersection, and difference.
@meetangad4 жыл бұрын
Set is a collection of unique elements whereas in list you can repeat elements. Also, when you call set variables, the elements thrown will not be in sequence and will be randomized unlike lists which will throw elements in sequence.
@shankargope2475 Жыл бұрын
Fantastic👌, absolutely got crystal clear clarity regarding address of a value assigned to variable, a little bit clarity about garbage collection👍. These are most fundamental concepts and you have made it so easy to understand, love the way you teach❤ Difference between set and list --> List is ordered sequence data type containing similar or different type of collection of data within [ ], Set is a sequence data type but not ordered containing unique collection of datas (not reapted) within { }.
@rachana70443 жыл бұрын
Thank you..sir..it's really fun learning with you... Differences are set:unique elements, curly braces, not supports index,imutable List:collection of all types, bracket, mutable, support index value
@saralatzs9072 жыл бұрын
Sets are mutable
@saralatzs9072 жыл бұрын
But frozen sets are immutable
@ajaybhat57714 жыл бұрын
Excellent video.... He is completely going in a proper way without skipping any topics.. Following the proper order..
@arslankabeer39514 жыл бұрын
Hello Navin, hope you're doing well. I have a question for you. How the Python is so memory efficient when you change the value of variable "a" it still remains in memory & Python creates a new variable which is named called "a" and it used some different memory address right? So everytime you change the value of "a" in program it consumes some extra memory in Python. Even on the other hand when we are using C++ this memory efficiency concept is true it will always point to the same memory address, doesn't matter how many times you change the value of that variable.
@santiswaroopa32623 жыл бұрын
sir, you are God of knowledge. Python is so easy because of your way of explaining.
@shabbasaikia3 жыл бұрын
Set is mentioned when there're curly brackets. If you give any numbers, it'll show in an order which is not descending, nor ascending nor the order whatever you gave.
@prathikbhat Жыл бұрын
Set and List both are mutable in nature. The major differences are sets are represented by flower bracket or curly bracket while list in square bracket. Set is a collection of unique elements while list can have any elements including repeated values. Set won't have index value as it can't maintain sequence while lists can!
@akshaykumarannigeri24584 жыл бұрын
Hi naveen , if we want integer part in this programme a=2, b=5 and c=b/a and answer will be c=2.5 We can type int (c )and we will get 2, but what we have to do if we want that remaining 0.5
@ishaandas64273 жыл бұрын
Tbh he explains everything in such a way that the person who watches his video will be left with no clarifications, this is the best part of him, he explains everything so concise, which makes him a better programmer than mosh sorry mosh fans but this guy is truly a miracle ;)
@yunpeiyang49042 жыл бұрын
"Variables of the same value are given the same memory address" can sometimes work against you. Learned it the hard way from a code like this: a=[1,2,3] b=a for i in range(1,4): for num in a: b.append(num+i*10) The intent was to make a list of this pattern: [1, 2, 3, 11, 12, 13, 21, 22, 23, ...]. But since python uses the same memory address for a and b, appending list "b" will also change list "a". With the for loop trying go through a list that keeps expanding each iteration, the loop becomes infinite. To avoid this issue, make "a" a tuple (a=tuple(a)) after the line "b=a'. This will result in "a" and "b" having different addresses and less likely to be mixed up.
@aparajita7735 жыл бұрын
1)set is a unique collection of values.hence it does not allow repeatation while lists don't have any such restrictions. 2)set does not follow any proper sequence of elements but lists do follow. 3)sets does not support indexing but lists do. 4)sets work on hash concept which focuses much on speed rather than sequence.hence they have faster excecution speed but lists are compartively slower.
@yobeee4 жыл бұрын
Thank you SO much! I am in middle school and I am just starting programming and you are very helpful!
@rashminagaraj54394 жыл бұрын
Very impressive.... You are in middle school and you are focussed on learning and enhancing your knowledge and skills.. Very very appreciative of your willingness to learn 👍
@Dayasagar5742 жыл бұрын
Excellent video. I could not understand this concept from a linkedin course. Hats off
@pradneshutpat24424 жыл бұрын
SIR U R GREAT I WASNT KNOWING ANYTHING RELATED TO PYTHON BUT NOW I M GETTING ALL OF THEM.....THANKS A LOT SIR....
@chessbd Жыл бұрын
very informative! You don't miss even the tiny thing that might be a flaw in the basics. Thanks for your videos.
@anweshaadeb894 жыл бұрын
I am completely a beginner.. till now its looking easy.. thats must be because he is an awesome teacher.. Feeling like saying .."Happy Tecahers' Day" Sir
@kandurinagalakshmi97532 жыл бұрын
@telusuko...aww your teaching is jst awesome
@leela08053 жыл бұрын
Set.. It is a collection of unique elements. It has no sequence of arrangement List.. It has sequence of arrangement of values.. Thank you sir😍
@SRIGHAKOLLAPUVNBASISHRAM4 ай бұрын
initially I learnt from another channel and used to forgot them now i am getting the good story behind each and every topic.
@mo16hit4 жыл бұрын
Sir 👍 Type inverted commas three times (''') and press enter u find that there is no sign of >>> This will help u to write something creative.
@bhagya16525 жыл бұрын
Set is a collection of unique elements, it uses hashing techniques in which data is in random order, it is immutable, where as Lists is a mutable. List contain many methods where as set contains only 2methods:Index,count.
@sahilsoni9704 жыл бұрын
You are a very good tutor, thanks 🙏👍👍 , I had never thought that I will be able to do python programming.... But u made it possible for me 👍👍👍👍👍
@eduardoalfredocasanovalope9915 жыл бұрын
Set = doesn't mantain sequence, doesn't support dupplicate values List = collections of values. they can be the same or different. you can modify them
@mihirvaghela21855 жыл бұрын
we can also modify set right?
@raviraimittal Жыл бұрын
List is an ordered collection of elements in the data structure of Python which allows duplication and is defined by square brackets [ ]; SET is non ordered collection of elements which does not allow duplication of elements and is defined by curly brackets {}. since no duplication is allowed in sets it offers an advantage to look out for specific objects with more efficiency.
@DHHcovers10 ай бұрын
List is a collection of data, Data can be of different types, Lists can be mutable, Lists is denoted by [ ] square brackes where as in Sets, it do not follow any sequence and denoted by { } curly bracket.
@AbhishekGupta5 жыл бұрын
Set vs Lists : 1. In lists when we input values the output will be same as input but when we use set it's not and if in set a number repeats itself more than once it will be printed once. 2.We cannot trace index of value in set whereas lists are capable of doing that. 3. lists are easy to manipulate rather than set as we know exactly where to add element but in set we can't add the value to required slot as in output it will vary with every change. 4.as set use hash concept which we can't find in lists but we can perform manual sorting,descending,deleting,adding in lists in more easier and efficient way.
@56tejasbiranje934 жыл бұрын
Set is collection of unique elements while in set the sequence is maintained and recurring elements are shown once only While 'Lists' are mutable and changed the data is put in square brackets. The values of list can be fetched by using index value. In case of set it can't be used
@girijavarma52713 жыл бұрын
Difference between SET and LIST are:- SET - set is a collection of unique elements. only immutable object can be stored LIST - mutable
@jaikishankumarmore14575 жыл бұрын
Set is an unordered collection of unique items, where as a list is an ordered collection of items. List can contain duplicates but a set doesn't allow duplicates. Both are immutable. As set is unordered, it doesn't support indexing but list does.
@nandakumar59764 жыл бұрын
Hi Navin, Thanks for your lecture. ITs really awesome I have a question for you PI=3.14, Now id(PI) and id(3.14) are different. Why ? Thank You
@puneetdhangwal844 жыл бұрын
Maybe only in case of floats different address is given
@googlesai14 жыл бұрын
Use float before the number
@lankasushma51054 жыл бұрын
Python a=3.14 Id(3.14) 497661158576 Id(a) 497661158544 (Why in float value's address is different) K=5 Id(5) 497671764064 Id(k) 497671764064 Here address is same Why
@googlesai14 жыл бұрын
@@lankasushma5105 really
@lankasushma51054 жыл бұрын
@@googlesai1 can you explain it
@nagarajudeshini5 жыл бұрын
Hello Sir. Could you please explain more clear on the below case.. a=3.14 id(3.14) id(a) Address is different for float values (how and why) and b=3 id(3) id(b) same address (how and why) ?
@harishkandra4 жыл бұрын
List is collection of values Where set is collection of unique elements List is mutable In set it doesn't support duplicate values
@madhavand48904 жыл бұрын
Can we not use tuple to define a constant? Basically define a tuple with only one element in it? For example: PI = (3.14) Great work with the videos by the way, it is really helpful..
@chinmaydas40536 жыл бұрын
Sir being your old subscriber, i can say your java tutorial videos are discussed more deeply, elaborately and in detailed with lots of different examples/programs in comparison python videos. Still your python videos are good sir🙏..
@simranjitkaur53644 жыл бұрын
1)Set values are written within { } and lost values are written within [ ]. 2) All mathematical Set operations can be applied on a given set but not on list. 3) In set the values are not repeated but in lost can values can be repeated
@anilpillai91804 жыл бұрын
Hi Navin...I have subscribed your channel, your stuff is really incredible. Just want to know, if I also "Join" , will I be able to access more videos or premium videos on advanced programming?? Please guide
@harshitchauhan63345 жыл бұрын
Explaining very nicely even better than my school teacher,who is also a good teacher ,a teacher of one 0f the top 4 school of Bihar but this guy is a god teacher.
@a.y.making9313 жыл бұрын
Answer o the assignment ques.- THE MAIN DIFFERENCE BETWEEN SET ANS LIST IS THAT SET ARE UNORDERED[CAN'T BE INDEXED ] AND ARE IMMUTABLE WHILE AS LIST ARE ORDERED AND ARE MUTABLE[VALUE CAN BE CHANGED]
@rvdz92444 жыл бұрын
sir u r fabulous. your teaching is far much good. we need more professors like u
@RS-hu6co4 жыл бұрын
Good efforts and very well explained Navin sir 👌 I am also learning python by watching your videos 😃 Thank you sir 🙏
@muhammadshoaib-rs3pd6 жыл бұрын
"enjoying the video? " is not enough phrase, I love your videos, you are amazing teacher I have ever watched.
@manyatelecomofficial63972 жыл бұрын
List is collection of data and there index is unique, we can fetch data by using index. While set is collection of unique data without any index.
@coderkumar6 жыл бұрын
The fundamental difference between List and Set in Python is allowing duplicate elements. ... A list is an Ordered Collection while Set is an unordered Collection. List maintains insertion order of elements, means any element which is inserted before will go on the lower index than any element which is inserted after.
@padminikalburagi17834 жыл бұрын
*Set* Set is a collection of unique elements & for creating set we use curly brackets {} ,and in set the numbers r not in sequence & here indexing is not supported n it will not support duplicated values *List* list is mutable...it means we can change the values in list. for creating lists we use square brackets [].. Thank you🤗
@thetechpower353 жыл бұрын
# Set: It is collection of elements.for set we use {} braces . Set elements do not follow the sequences it will occurs randomly.set is imutable type. #list : It is also collection of elements.for list we use [] braces.List follows the sequence of element occurance.means it occurs as we entered.list is mutable type.
@rasheedashabir77924 жыл бұрын
Your teachings are very good thank you for that because of your teachings I got more interest in programming even though I am in middle school🏫.
@JourneywithRaquel4 жыл бұрын
Enjoying your videos. The explanations take out the confusion. I have learned quite a bit so far. I just cannot see the quiz question because a label is over it. Can you write the questions in the descriptions?
@yashkhanna26026 жыл бұрын
Set: It is the collection of unique or same elements. Ex- add = [54, 'yash', 8765] List: it is the collection of different elements Ex- s = { 3,4,5}
@yashpatel38745 жыл бұрын
s is set not list .list is collection of same or different data
@Whoispritam4 жыл бұрын
just got amazed by the quality of the video, love this series
@dilipmurudkar9239 Жыл бұрын
You are intelligent thank you you're only teacher that can teach python
@saajalgupta40905 жыл бұрын
set- It is an collection of unorder element. It doesn't have indexing. List-It is an collection of order element.It has indexing.
@harishbushi51424 жыл бұрын
List is shown with square brackets [ ],where as set is shown with curly braces { }.The major difference is that we do some operations such as append ,pop and etc.,in list but we can't in set.
@MixedUploader Жыл бұрын
a list is a collection of values which is defined with square bracket whereas a set is a collection of key value pair which is defined with curly brackets
@nitianpriyanshu32143 жыл бұрын
I am learning the programming for the first time .. my uncle preferred this tutorial to me to learn python i am understanding everything and doing on my computer everyday best explained in a jolly mood i have some issue regaring it how to conatct to u sir
@amruthasankar3453 Жыл бұрын
Thankyou....sir🤩🤩🤩🤩god bless you🙌🙌😇😇😇😇🥰🥰🥰🥰 Answer of the quiz : Set is unordered and contain different elements,whereas the list is ordered and contain the same elements in it.
@arjunnegi7176 жыл бұрын
Hello Naveen..I loved your videos on Python.I have one question ..Can you please provide an example where classes have been used and how? It can be for any language not specially for Python.
@SireeshaRoyals Жыл бұрын
list is a collection of data and mutable (we can change the data and modified the data) and ordered and it can allow the duplicate values. where as set is mutable(in python) unordered , and it never allows the duplicate values
@avilafrancis6193 жыл бұрын
List is used to group different data types. List are mentioned in []. And indexing will be supported. List are mutable (we can change the value) Eg: x=['thankyou',10000] Set is the collection of unique elements. Set are mentioned in {}. And indexing in set are not supported. Sets are immutable (we cannot change the value) Eg: x={1,45,12,25,98}
@omkardinkar97834 жыл бұрын
Is id function works differently on different Python version or it remained same . Have a look below as same value but still locating in different location / id / memory location . >>> b = 88-108 >>> b -20 >>> c = 58-78 >>> >>> c -20 >>> id(c) 488538036208 >>> id(b) 488538036112 >>> >>>
@meaninglessnowadays Жыл бұрын
The difference between a set and list is that in a set we don't have any order and can't call values by indeces. In a set all values are unique. But in a list we have an order and can adress to any of its values by index
@topup5874 жыл бұрын
Today l learn new thing . Thank you sir for your teaching guide
@theoneboy66443 жыл бұрын
I subscribed. The best TUTOR. Salute to you sir
@technews38534 жыл бұрын
nice explanation I m in just class 9th and understanding all thing thanks for the series
@jiwangarg79924 жыл бұрын
hey ! the address we got you say with the example of a,b and.......... is this address is ip ... i mean which address this is
@bhaktikhanpara49406 жыл бұрын
Set is collection of value and it has no perticular index number but listed value has perticular index value..list is like array
@saisanthosh56945 жыл бұрын
list is a collection of elements it has same number or different number here we can create,modify,acess,add,delete etc where in the set is a collection of elements which does not index numbers and dulicate elements are not allowed tuple is smillar to list but in tuple we cannot modify the values,whatever we created in the tuple cannot be changed. in python consant values can be changed according to the scenario and it is simple to get id suppose name=sai.id(name) we get the id number of name and also we create own datatypes enumeration etc
@HomeHome-yf8kb3 жыл бұрын
Best tutorials on python which u can watch for free,.
@rishabdev64115 жыл бұрын
Set are written in curly brackets{ } and Unordered ,Unindexied .. list are written in square brackets [ ] and Ordered , Mutable ..
@uthpakhi5 жыл бұрын
A set is an immutable whereas a list is mutable and can be modified. A set does not sort element in any specific order but in random whereas a list always sorts the elements. A set is represented by {Curly} bracket whereas a list is represented with an [square] bracket.
@mohammedmeraj80215 жыл бұрын
in a set there are group of numbers written in correct order in {} form whereas in a list there are group of numbers written in mentioned order in (). set is immutable, list is mutable
@ahmadhamzakhan89033 жыл бұрын
Your videos are increasing my interest in programming. Thanks a lot Sir... :)
@ArunKumar-ck3so5 ай бұрын
difference between sets and lists is sets are a collection of unique elements but lists can have repeated elements. lists are mutable, sets gets the elements in sorted format(default)
@akhileswarsathivada51832 жыл бұрын
List have a sequential order Set don't have any sequential order List can print repeated values Set don't print repeated values
@Ruthbell-n6s Жыл бұрын
Hi Navin, You are doing outstanding Job, Kudos Man. can you please recommmend a Book to refer for a absolute beginner to Learn. Thanks in Advance.
@simra13314 жыл бұрын
1 :- Lists are mutable whereas sets element should be immutable. 2:- lists maintain the sequence of elements but sets doesn't maintain the elements sequence. 3 :- In lists we can indexing but in sets we can't.
@pubalibanerjee32864 жыл бұрын
List:mutable,collection of any type of variables, [ ] brackets are used to define list Set:immutable,collection of unique types of variables,{ } brackets are used to define set.
@bmguitarhub61354 жыл бұрын
set and list? set - use curly braces, not sequence, cannot support duplicate values list - mutable (you can change the values you gave), use brackets, inbuilt functions are avail, you can clear, extend, del etc.... using functions
@sahilbadkul71302 жыл бұрын
Set 1-not support indexing 2-not support duplicated 3-cant's change or replace value. List 1-we can asses value by index 2-we can add, remove or change any value
@ajaysundar55005 жыл бұрын
set: represent by {}, output will be in-order format, we can't change any value based on index, if we need add an element we can use (add) function. tuple: represent by [], output will be order format, we can change or modify the value based on index, if we add an element we can use (append & extend) function.