#9 Python Tutorial for Beginners | More on Variables in Python

  Рет қаралды 1,317,259

Telusko

Telusko

Күн бұрын

Пікірлер: 745
@jaipalreddy7365
@jaipalreddy7365 6 жыл бұрын
Good Part is...He is intelligently explaining the series without confusing the people who already learnt other languages
@gayatripareek1345
@gayatripareek1345 4 жыл бұрын
So..truee❤❤
@elliplunar5110
@elliplunar5110 4 жыл бұрын
He is really smoothhhhh.
@messiahtheo7229
@messiahtheo7229 3 жыл бұрын
instablaster
@betecieai
@betecieai 6 жыл бұрын
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_II
@II_xD_II 6 жыл бұрын
:clap:
@ShivamPanchbhai
@ShivamPanchbhai 5 жыл бұрын
eo ? and what is hash concept ?
@naveenvelusamy5601
@naveenvelusamy5601 5 жыл бұрын
Super Bro 👏👏
@BharathKumar-rq7ef
@BharathKumar-rq7ef 5 жыл бұрын
if set has no index then how the pop operation works on it which index element will he popped
@karolinpreethy8434
@karolinpreethy8434 5 жыл бұрын
can u explain hash concept
@yatinkathuria5198
@yatinkathuria5198 4 жыл бұрын
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
@gowthamgupta1238 Жыл бұрын
Tuples by ()
@niranjanns8704
@niranjanns8704 Жыл бұрын
And one more thing, set never follows sequence whereas lists follows sequence
@danieltochi5087
@danieltochi5087 Жыл бұрын
@@niranjanns8704 You mean they don't follow a sequence right? I hope that is what you mean.
@skelpton4227
@skelpton4227 Жыл бұрын
Also, sets can't use index function while list can.
@ManlyMadhu123
@ManlyMadhu123 11 ай бұрын
and Set is Immutable and List Muttable
@pradeepchauhan9184
@pradeepchauhan9184 6 жыл бұрын
you are hardworking for editing video as well...Thank you sir...you can provide "donation" options, you work hard for us, you deserve it.
@msrikavya9651
@msrikavya9651 4 жыл бұрын
Donate him in his patreon, ID - navinreddy20
@pranav9339
@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.
@Ajaysaini081
@Ajaysaini081 2 жыл бұрын
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.
@abhishekjadhav7340
@abhishekjadhav7340 4 жыл бұрын
the only lectures where i cant be bored off , simply awesome to understand , python is really a fun having languages
@lankeshsaraswat1886
@lankeshsaraswat1886 4 жыл бұрын
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
@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
@nivathamuthuraman5119
@nivathamuthuraman5119 3 жыл бұрын
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
@pawanjakke7392
@pawanjakke7392 4 жыл бұрын
Differences Set: no order,immutable,flower braces,no duplicates allowed List:order,muttable,closed braces
@MdSazol-rw3zf
@MdSazol-rw3zf 4 жыл бұрын
duplicates allowed but counts as one
@gauravbisht9622
@gauravbisht9622 4 жыл бұрын
Bro i think set is mutable
@aarathakkar2720
@aarathakkar2720 4 жыл бұрын
Sets are mutable
@mohankumar9511
@mohankumar9511 4 жыл бұрын
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
@SwapnadeepMukherjee
@SwapnadeepMukherjee 3 жыл бұрын
Both are mutable bro.
@Pen_Da
@Pen_Da 4 жыл бұрын
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
@pwrshashank
@pwrshashank 9 ай бұрын
after 3 years how's it going on for you
@PositiveVibes-1-8
@PositiveVibes-1-8 10 ай бұрын
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
@ob7606
@ob7606 5 жыл бұрын
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!
@swethasundaram04
@swethasundaram04 3 жыл бұрын
Hands down the best coaching ever! :) Keep the work up.
@ramnathbv1385
@ramnathbv1385 6 жыл бұрын
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
@himanshubishtt
@himanshubishtt 5 жыл бұрын
Best python tutorial on KZbin ❤️
@abdulsamadbsse401
@abdulsamadbsse401 5 жыл бұрын
Naveen sir , i am from pakistan i really like your videos . thank you sir , without you it wouldnot be that easy..
@terabaap5874
@terabaap5874 9 ай бұрын
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.
@meetangad
@meetangad 4 жыл бұрын
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
@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 { }.
@rachana7044
@rachana7044 3 жыл бұрын
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
@saralatzs907
@saralatzs907 2 жыл бұрын
Sets are mutable
@saralatzs907
@saralatzs907 2 жыл бұрын
But frozen sets are immutable
@ajaybhat5771
@ajaybhat5771 4 жыл бұрын
Excellent video.... He is completely going in a proper way without skipping any topics.. Following the proper order..
@arslankabeer3951
@arslankabeer3951 4 жыл бұрын
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.
@santiswaroopa3262
@santiswaroopa3262 3 жыл бұрын
sir, you are God of knowledge. Python is so easy because of your way of explaining.
@shabbasaikia
@shabbasaikia 3 жыл бұрын
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
@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!
@akshaykumarannigeri2458
@akshaykumarannigeri2458 4 жыл бұрын
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
@ishaandas6427
@ishaandas6427 3 жыл бұрын
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 ;)
@yunpeiyang4904
@yunpeiyang4904 2 жыл бұрын
"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.
@aparajita773
@aparajita773 5 жыл бұрын
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.
@yobeee
@yobeee 4 жыл бұрын
Thank you SO much! I am in middle school and I am just starting programming and you are very helpful!
@rashminagaraj5439
@rashminagaraj5439 4 жыл бұрын
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 👍
@Dayasagar574
@Dayasagar574 2 жыл бұрын
Excellent video. I could not understand this concept from a linkedin course. Hats off
@pradneshutpat2442
@pradneshutpat2442 4 жыл бұрын
SIR U R GREAT I WASNT KNOWING ANYTHING RELATED TO PYTHON BUT NOW I M GETTING ALL OF THEM.....THANKS A LOT SIR....
@chessbd
@chessbd Жыл бұрын
very informative! You don't miss even the tiny thing that might be a flaw in the basics. Thanks for your videos.
@anweshaadeb89
@anweshaadeb89 4 жыл бұрын
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
@kandurinagalakshmi9753
@kandurinagalakshmi9753 2 жыл бұрын
@telusuko...aww your teaching is jst awesome
@leela0805
@leela0805 3 жыл бұрын
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😍
@SRIGHAKOLLAPUVNBASISHRAM
@SRIGHAKOLLAPUVNBASISHRAM 4 ай бұрын
initially I learnt from another channel and used to forgot them now i am getting the good story behind each and every topic.
@mo16hit
@mo16hit 4 жыл бұрын
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.
@bhagya1652
@bhagya1652 5 жыл бұрын
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.
@sahilsoni970
@sahilsoni970 4 жыл бұрын
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 👍👍👍👍👍
@eduardoalfredocasanovalope991
@eduardoalfredocasanovalope991 5 жыл бұрын
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
@mihirvaghela2185
@mihirvaghela2185 5 жыл бұрын
we can also modify set right?
@raviraimittal
@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.
@DHHcovers
@DHHcovers 10 ай бұрын
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.
@AbhishekGupta
@AbhishekGupta 5 жыл бұрын
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.
@56tejasbiranje93
@56tejasbiranje93 4 жыл бұрын
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
@girijavarma5271
@girijavarma5271 3 жыл бұрын
Difference between SET and LIST are:- SET - set is a collection of unique elements. only immutable object can be stored LIST - mutable
@jaikishankumarmore1457
@jaikishankumarmore1457 5 жыл бұрын
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.
@nandakumar5976
@nandakumar5976 4 жыл бұрын
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
@puneetdhangwal84
@puneetdhangwal84 4 жыл бұрын
Maybe only in case of floats different address is given
@googlesai1
@googlesai1 4 жыл бұрын
Use float before the number
@lankasushma5105
@lankasushma5105 4 жыл бұрын
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
@googlesai1
@googlesai1 4 жыл бұрын
@@lankasushma5105 really
@lankasushma5105
@lankasushma5105 4 жыл бұрын
@@googlesai1 can you explain it
@nagarajudeshini
@nagarajudeshini 5 жыл бұрын
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) ?
@harishkandra
@harishkandra 4 жыл бұрын
List is collection of values Where set is collection of unique elements List is mutable In set it doesn't support duplicate values
@madhavand4890
@madhavand4890 4 жыл бұрын
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..
@chinmaydas4053
@chinmaydas4053 6 жыл бұрын
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🙏..
@simranjitkaur5364
@simranjitkaur5364 4 жыл бұрын
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
@anilpillai9180
@anilpillai9180 4 жыл бұрын
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
@harshitchauhan6334
@harshitchauhan6334 5 жыл бұрын
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.making931
@a.y.making931 3 жыл бұрын
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]
@rvdz9244
@rvdz9244 4 жыл бұрын
sir u r fabulous. your teaching is far much good. we need more professors like u
@RS-hu6co
@RS-hu6co 4 жыл бұрын
Good efforts and very well explained Navin sir 👌 I am also learning python by watching your videos 😃 Thank you sir 🙏
@muhammadshoaib-rs3pd
@muhammadshoaib-rs3pd 6 жыл бұрын
"enjoying the video? " is not enough phrase, I love your videos, you are amazing teacher I have ever watched.
@manyatelecomofficial6397
@manyatelecomofficial6397 2 жыл бұрын
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.
@coderkumar
@coderkumar 6 жыл бұрын
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.
@padminikalburagi1783
@padminikalburagi1783 4 жыл бұрын
*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🤗
@thetechpower35
@thetechpower35 3 жыл бұрын
# 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.
@rasheedashabir7792
@rasheedashabir7792 4 жыл бұрын
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🏫.
@JourneywithRaquel
@JourneywithRaquel 4 жыл бұрын
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?
@yashkhanna2602
@yashkhanna2602 6 жыл бұрын
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}
@yashpatel3874
@yashpatel3874 5 жыл бұрын
s is set not list .list is collection of same or different data
@Whoispritam
@Whoispritam 4 жыл бұрын
just got amazed by the quality of the video, love this series
@dilipmurudkar9239
@dilipmurudkar9239 Жыл бұрын
You are intelligent thank you you're only teacher that can teach python
@saajalgupta4090
@saajalgupta4090 5 жыл бұрын
set- It is an collection of unorder element. It doesn't have indexing. List-It is an collection of order element.It has indexing.
@harishbushi5142
@harishbushi5142 4 жыл бұрын
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
@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
@nitianpriyanshu3214
@nitianpriyanshu3214 3 жыл бұрын
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
@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.
@arjunnegi717
@arjunnegi717 6 жыл бұрын
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
@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
@avilafrancis619
@avilafrancis619 3 жыл бұрын
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}
@omkardinkar9783
@omkardinkar9783 4 жыл бұрын
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
@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
@topup587
@topup587 4 жыл бұрын
Today l learn new thing . Thank you sir for your teaching guide
@theoneboy6644
@theoneboy6644 3 жыл бұрын
I subscribed. The best TUTOR. Salute to you sir
@technews3853
@technews3853 4 жыл бұрын
nice explanation I m in just class 9th and understanding all thing thanks for the series
@jiwangarg7992
@jiwangarg7992 4 жыл бұрын
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
@bhaktikhanpara4940
@bhaktikhanpara4940 6 жыл бұрын
Set is collection of value and it has no perticular index number but listed value has perticular index value..list is like array
@saisanthosh5694
@saisanthosh5694 5 жыл бұрын
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-yf8kb
@HomeHome-yf8kb 3 жыл бұрын
Best tutorials on python which u can watch for free,.
@rishabdev6411
@rishabdev6411 5 жыл бұрын
Set are written in curly brackets{ } and Unordered ,Unindexied .. list are written in square brackets [ ] and Ordered , Mutable ..
@uthpakhi
@uthpakhi 5 жыл бұрын
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.
@mohammedmeraj8021
@mohammedmeraj8021 5 жыл бұрын
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
@ahmadhamzakhan8903
@ahmadhamzakhan8903 3 жыл бұрын
Your videos are increasing my interest in programming. Thanks a lot Sir... :)
@ArunKumar-ck3so
@ArunKumar-ck3so 5 ай бұрын
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)
@akhileswarsathivada5183
@akhileswarsathivada5183 2 жыл бұрын
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
@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.
@simra1331
@simra1331 4 жыл бұрын
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.
@pubalibanerjee3286
@pubalibanerjee3286 4 жыл бұрын
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.
@bmguitarhub6135
@bmguitarhub6135 4 жыл бұрын
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
@sahilbadkul7130
@sahilbadkul7130 2 жыл бұрын
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
@ajaysundar5500
@ajaysundar5500 5 жыл бұрын
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.
@iamkmsyed
@iamkmsyed 4 жыл бұрын
Excellent sir
#10 Python Tutorial for Beginners | Data Types in Python
14:35
Telusko
Рет қаралды 1,5 МЛН
Dictionary in Python
12:24
Telusko
Рет қаралды 1,4 МЛН
風船をキャッチしろ!🎈 Balloon catch Challenges
00:57
はじめしゃちょー(hajime)
Рет қаралды 51 МЛН
Happy birthday to you by Secret Vlog
00:12
Secret Vlog
Рет қаралды 5 МЛН
PIZZA or CHICKEN // Left or Right Challenge
00:18
Hungry FAM
Рет қаралды 14 МЛН
Players vs Pitch 🤯
00:26
LE FOOT EN VIDÉO
Рет қаралды 121 МЛН
#11 Python Tutorial for Beginners | Operators in Python
11:07
Telusko
Рет қаралды 1,3 МЛН
Please Master These 10 Python Functions…
22:17
Tech With Tim
Рет қаралды 204 М.
#14 Python Tutorial for Beginners | Python BitWise Operators
12:42
10 Crazy Python Operators That I Rarely Use
11:37
Indently
Рет қаралды 42 М.
#20 Python Tutorial for Beginners | While Loop in Python
12:43
Telusko
Рет қаралды 1,6 МЛН
Learn Python OOP in under 20 Minutes
18:32
Indently
Рет қаралды 96 М.
Python for Beginners - Learn Python in 1 Hour
1:00:06
Programming with Mosh
Рет қаралды 19 МЛН
風船をキャッチしろ!🎈 Balloon catch Challenges
00:57
はじめしゃちょー(hajime)
Рет қаралды 51 МЛН