Тёмный

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

Telusko
Подписаться 2,4 млн
Просмотров 1,3 млн
50% 1

Опубликовано:

 

8 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 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
@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 10 месяцев назад
and Set is Immutable and List Muttable
@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 5 лет назад
: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
@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.
@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
@abhishekjadhav7340
@abhishekjadhav7340 4 года назад
the only lectures where i cant be bored off , simply awesome to understand , python is really a fun having languages
@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
@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
@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.
@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
@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 8 месяцев назад
after 3 years how's it going on for you
@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!
@ajaybhat5771
@ajaybhat5771 4 года назад
Excellent video.... He is completely going in a proper way without skipping any topics.. Following the proper order..
@abdulsamadbsse401
@abdulsamadbsse401 5 лет назад
Naveen sir , i am from pakistan i really like your videos . thank you sir , without you it wouldnot be that easy..
@swethasundaram04
@swethasundaram04 3 года назад
Hands down the best coaching ever! :) Keep the work up.
@chessbd
@chessbd Год назад
very informative! You don't miss even the tiny thing that might be a flaw in the basics. Thanks for your videos.
@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
@pradneshutpat2442
@pradneshutpat2442 3 года назад
SIR U R GREAT I WASNT KNOWING ANYTHING RELATED TO PYTHON BUT NOW I M GETTING ALL OF THEM.....THANKS A LOT SIR....
@himanshubishtt
@himanshubishtt 5 лет назад
Best python tutorial on RU-vid ❤️
@SRIGHAKOLLAPUVNBASISHRAM
@SRIGHAKOLLAPUVNBASISHRAM 3 месяца назад
initially I learnt from another channel and used to forgot them now i am getting the good story behind each and every topic.
@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 { }.
@Dayasagar574
@Dayasagar574 2 года назад
Excellent video. I could not understand this concept from a linkedin course. Hats off
@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 👍👍👍👍👍
@santiswaroopa3262
@santiswaroopa3262 3 года назад
sir, you are God of knowledge. Python is so easy because of your way of explaining.
@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 ;)
@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.
@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
@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 👍
@terabaap5874
@terabaap5874 8 месяцев назад
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.
@rvdz9244
@rvdz9244 4 года назад
sir u r fabulous. your teaching is far much good. we need more professors like u
@topup587
@topup587 4 года назад
Today l learn new thing . Thank you sir for your teaching guide
@itspritm
@itspritm 4 года назад
just got amazed by the quality of the video, love this series
@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 🙏
@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🏫.
@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.
@ahmadhamzakhan8903
@ahmadhamzakhan8903 3 года назад
Your videos are increasing my interest in programming. Thanks a lot Sir... :)
@danielkamau8436
@danielkamau8436 4 года назад
wao this was powerful......got the whole class and I bet the rest too
@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🙏..
@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
@dilipmurudkar9239
@dilipmurudkar9239 Год назад
You are intelligent thank you you're only teacher that can teach python
@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.
@bhagya1652
@bhagya1652 4 года назад
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.
@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😍
@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.
@harshitchauhan6334
@harshitchauhan6334 4 года назад
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.
@kandurinagalakshmi9753
@kandurinagalakshmi9753 2 года назад
@telusuko...aww your teaching is jst awesome
@technews3853
@technews3853 4 года назад
nice explanation I m in just class 9th and understanding all thing thanks for the series
@PositiveVibes-1-8
@PositiveVibes-1-8 9 месяцев назад
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
@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.
@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.
@muhammadshoaib-rs3pd
@muhammadshoaib-rs3pd 5 лет назад
"enjoying the video? " is not enough phrase, I love your videos, you are amazing teacher I have ever watched.
@theoneboy6644
@theoneboy6644 2 года назад
I subscribed. The best TUTOR. Salute to you sir
@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.
@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!
@karnatiluck.9267
@karnatiluck.9267 4 года назад
U r just awesome Navin sir, I understand u r classes very well thank u sir
@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?
@varunabhi
@varunabhi 5 лет назад
Very good teaching. Best place to learn. THANK YOU SIRRR......
@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.
@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.
@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
@DHHcovers
@DHHcovers 9 месяцев назад
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.
@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
@b.sasikumar2141
@b.sasikumar2141 4 года назад
I learn python everyday is in simple explaining thank u sir
@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.
@paradisepirhadi9912
@paradisepirhadi9912 4 года назад
Your videos are very useful. Thank u so much
@tinajain7295
@tinajain7295 3 года назад
Wow sir you are amazing, you teach us very well thanks ! 😎😎
@amadesirasoi
@amadesirasoi 5 лет назад
Your idea of box is really good It helped me a lot to understand Thank you so much Sir :))
@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
@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
@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
@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
@rathorevipin8819
@rathorevipin8819 4 года назад
Really awesome!!!!!. Great way of teaching. Best tutorial series available on Python on youtube
@safibelim5587
@safibelim5587 4 года назад
Very easy explanation of each and every topic 👌👌👌
@RavikanthTalakoti
@RavikanthTalakoti 4 года назад
Till now i have learnt so much on Python
@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
@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.
@hacktricks5710
@hacktricks5710 5 лет назад
I am a new subscriber and I watch python series. this series is awesome and you show any topic deeply . THANKS, BRO...
@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) ?
@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
@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.
@aasthavidushi132
@aasthavidushi132 6 лет назад
I would like to request you to come up with some interesting stuffs which we can do with Python by writing just 10 lines of code.. something like opening browsers through Python and other stuff like that. Also tell us the way how to learn of own or explore more once we have learnt something. These things actually help a lot. I hope you consider my point. Thank you!
@nishu6334
@nishu6334 4 года назад
Awesome man hats off to his knowledge and experience really appreciate
@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.
@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
@ArunKumar-ck3so
@ArunKumar-ck3so 4 месяца назад
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)
@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
@jeontaetae8223
@jeontaetae8223 Год назад
Thank God.. I found this you tube channel ❤️💯
@vishwabhatt4589
@vishwabhatt4589 Год назад
I'm in last sem of my engineering degree and still doing this beginners' course...but I'm definitely nd confidential about saying that...I have learnt Python this well from anywhere else till date. Thank you for such a fantastic representation on Python🥺🌟💯
@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
@devendrachaturvedi9399
@devendrachaturvedi9399 5 лет назад
Ur making fantastic videos big brother loved it very easy to understand to the point n most impressive one i dont get bored watching ur videos amazing thank you keep making more videos ..🤘❤️
@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
@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🤗
@berfinkeles1550
@berfinkeles1550 3 года назад
the video speed is already 2X , so ı dont need to increase it, that is really nice.
@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..
@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
@vasupradhabalachandran9321
@vasupradhabalachandran9321 2 года назад
Thankyou so much sir.I am in 6th grade and am really benefiting from your videos.
@iswaryaish3654
@iswaryaish3654 3 года назад
Superb sir u are really AMAZING😍.Tkuuuu for making these videos for us😊😊😍😍😍❤🙏ur D "GOD OF PYTHON" for all
@saikiran4916
@saikiran4916 5 лет назад
set is collection of unique values and set is immutable, lists are the same like sets but ordered and mutable..
Далее
ОРБИЗ-ГАН за 1$ vs 10$ vs 100$!
19:01
Просмотров 433 тыс.
Million jamoasi - O'zbekcha UFC
17:55
Просмотров 365 тыс.
How to Cook Juicy Steaks? Chef Kanan Recipe 🔥
00:59
Просмотров 883 тыс.
Dictionary in Python
12:24
Просмотров 1,4 млн
How He Got $600,000 Data Engineer Job
19:08
Просмотров 131 тыс.
10 Important Python Concepts In 20 Minutes
18:49
Просмотров 167 тыс.
Please Master These 10 Python Functions…
22:17
Просмотров 174 тыс.
25 nooby Python habits you need to ditch
9:12
Просмотров 1,8 млн
My Career Advice For Anyone Feeling Stuck In Life
7:26
ОРБИЗ-ГАН за 1$ vs 10$ vs 100$!
19:01
Просмотров 433 тыс.