#6 Python Tutorial for Beginners | Tuple | Set in Python

Поделиться
HTML-код
  • Опубликовано: 10 ноя 2024

Комментарии • 1,6 тыс.

  • @streetsidetechnocrats9670
    @streetsidetechnocrats9670 5 лет назад +388

    I never seen such a nice tutor like you. Keep it up Sir. You are more valuable

    • @bhanumudhiraj3386
      @bhanumudhiraj3386 2 года назад

      @Riyanshi's vlogs you can share the link dhidi😄

  • @abhishekkumarav8868
    @abhishekkumarav8868 5 лет назад +394

    Do you know why we love to learn python under ur guidance??
    Coz u bother about beginners 🙏❤️

    • @virgo4250
      @virgo4250 4 года назад +1

      yes ofcourse

    • @adityaprakash8217
      @adityaprakash8217 4 года назад +1

      Yes true

    • @satyamaruthi1145
      @satyamaruthi1145 3 года назад +2

      even his assent is also more favourable to beginners and it creates interest to the listeners

    • @BarredTitan
      @BarredTitan 3 года назад

      Ye

    • @heh2393
      @heh2393 3 года назад +5

      @@satyamaruthi1145 His voice has a lot of enthusiasm.

  • @addiszenadaily
    @addiszenadaily 5 лет назад +255

    am watching all add not skipping one of the best tutorial on RUclips

    • @pardhualapati4981
      @pardhualapati4981 4 года назад

      Telusukoo..

    • @josaphcj7199
      @josaphcj7199 3 года назад

      Mee 2

    • @beyondlimits384
      @beyondlimits384 3 года назад

      Meetoo

    • @soumelee5661
      @soumelee5661 3 года назад +1

      @Skylar James scam :O

    • @ayushalhat1238
      @ayushalhat1238 3 года назад

      @Skylar James to anyone reading this plz do not try it as it is a scam which has already trapped many people...they propogate through youtube comment section only ...no doubt *its a scam*

  • @blenderhander9485
    @blenderhander9485 4 года назад +119

    I am a mechanical engineer and i wanted to learn python and then i found you thanks a lot man!!

  • @afuneralinwhite
    @afuneralinwhite 2 года назад +18

    i finally got to start watching the videos you've made. made it through #1-#6 tonight. absolutely blown away by how helpful these have been. I started my course on intermediate python this semester and am already being tasked with figuring out recursion. I can't wait to see how these videos will help me!

  • @ashokjoshi5013
    @ashokjoshi5013 3 года назад +21

    @Telusko There is a workaround for changing Tuple value, We can convert the tuple into a list, change the list, and convert the list back into a tuple.
    name = ('Ashok','Kiran','John','Steve')
    changedname = list(name)
    changedname[1] = 'Rahul'
    name = tuple(changedname)
    print(name)
    Now the name tuple will have the values changed.
    Output :
    -----------
    ('Ashok', 'Rahul', 'John', 'Steve')
    Kindly give a heart if this comment was helpful.

    • @sakshidherange7554
      @sakshidherange7554 3 года назад

      ya , It's helpful
      I also wanted to say same thing ...

    • @ashokjoshi5013
      @ashokjoshi5013 3 года назад +1

      @@sakshidherange7554 Welcome 😊

  • @NikSy
    @NikSy 4 года назад +45

    Thank you Naveen for this great tutorial
    I would like to add some more point about sets
    1) To create an empty set use
    >>s1 =set()
    because if you use
    >> s1 = { }
    and check >> type(s1)
    you will get , which means it is treated as an dictionary instead of empty set.

  • @sadhnamall7357
    @sadhnamall7357 2 года назад +35

    To delete values (95,14,12) we write the code
    del nums[2:5]

  • @utkalaandhramedia2907
    @utkalaandhramedia2907 4 года назад +6

    Sri garu Meeru super Andi because mee valla ma abbai Python nerchagalugutunnadu
    hats off to our service sir garu🙌🙌🙌

  • @ABCALFANZO4044
    @ABCALFANZO4044 3 года назад +94

    We need professors like you in colleges and then studying becomes interesting and enjoyable. Doing great job.

  • @pratibha1976
    @pratibha1976 4 года назад +32

    watched a few videos this evening and followed along! very fun, easy, and it can be fast paced at times but that is the advantage of online learning. I can go at my own pace :) Your channel is a great source! Thank you.

  • @poojajain4900
    @poojajain4900 4 года назад +77

    The answer to the quiz question..
    >>>Del nums [2:5]
    >>>Nums
    [25,36,26]

    • @aditsharma279
      @aditsharma279 4 года назад +1

      A new thing I learnt today

    • @poojajain4900
      @poojajain4900 4 года назад +3

      @S u m a n t h yes u can pop a number from list..
      Eg. >>>Nums = [ 45 , 56 , 67 , 90 ]
      >>> Nums.pop(1)
      56

    • @gautamsrivastav8330
      @gautamsrivastav8330 4 года назад +2

      Why couldn’t we use nums.remove(2:5)

    • @poojajain4900
      @poojajain4900 4 года назад +9

      @@gautamsrivastav8330 if you use that syntax.. it will give you a syntax error.. thats because remove parameter takes only argument.. which means if you use remove you can only remove one number at a time from list.. and also you are supposed to mention the number you want to remove inside the bracket...
      Eg. >>>Nums = [23,56,78,90]
      >>> Nums.remove(23)
      >>> Nums
      [56,78,90]

    • @gautamsrivastav8330
      @gautamsrivastav8330 4 года назад

      @@poojajain4900 one more thing, I've been working on IDLE, as prescribed in the previous lectures, but when I save it, close it and reopen it, I'm not able to continue in that file. I have to start fresh with a new IDLE file and cannot continue with that I was practicing on.

  • @Fitness77799
    @Fitness77799 4 года назад +18

    my man deserves a billion subscribers i swear great videos man!!

  • @jaunelia354
    @jaunelia354 4 года назад +7

    I've seen many tutorials on python but this one is best especially because the teacher is kind enough to care about beginner, thank you so much,❤️❤️

  • @raviraimittal
    @raviraimittal Год назад +6

    nums=[25,36,95,14,12,26]
    del nums[2:4] #del function will delete numbers from index 2 to index 4 as required in the quiz
    print(nums)

    • @MrCroissant-y3f
      @MrCroissant-y3f Год назад +2

      It is [2:5]
      If [2:4], it won't remove the element 12.

    • @rajnishcdry
      @rajnishcdry Год назад

      @@MrCroissant-y3f if [2:5] it will also delete the last element 26.

    • @rajnishcdry
      @rajnishcdry Год назад

      @@MrCroissant-y3f if [2:5] it will also delete the last element 26.

    • @dxrkboyy
      @dxrkboyy 6 месяцев назад +1

      YESSS IT WORKED THANKS!!

  • @NikSy
    @NikSy 4 года назад +109

    2)
    If you use a set inside a set which will lead to an error
    eg:
    set_2 = {1,2,3,"hello",{4,5,6}}
    print(set_2)
    It will print TypeError: unhashable type: 'set'
    so instead of that use
    set_2 = {1,2,3,"hello",(4,5,6)}
    print(set_2)
    will print {1, 2, 3, 'hello', (4, 5, 6)}

    • @sureshkumarp1869
      @sureshkumarp1869 4 года назад +4

      Thank you

    • @pradeeps4103
      @pradeeps4103 2 года назад

      where is the question?! time please

    • @jagritimahata3042
      @jagritimahata3042 Год назад

      can u tell me the difference between index and count? I started learning python today so I dont know it

    • @prathikbhat
      @prathikbhat Год назад +1

      @@jagritimahata3042 Indexing is position of the number while count is total number of elements

  • @Anonymous40412
    @Anonymous40412 4 года назад +25

    Navin sir I must say No human No youtuber No website make me understands like you And the you are the one who bother about beginners and I will make sure that you will have a million subscribers in just few months❤🔥💥

  • @simplytan
    @simplytan 3 года назад +5

    I came to watch this playlist bcz my friend gave me a challenge to end the first 10 eps in one day. But now I'm excited to learn all these. Thank u for teaching us in an easy and quick way

  • @praveenanookala4457
    @praveenanookala4457 4 года назад +11

    I was using python 2.5 and when i used the curly brackets for the set, it showed syntax error. So i installed python 2.7.17 and it is working! Great tutorial, sir!

  • @pvvdprasad86
    @pvvdprasad86 3 года назад +1

    Explanation of difference between list, tuples, set -> Just what I needed. Teluskunna. Awesome.

  • @maven558
    @maven558 5 лет назад +30

    Thank you Navin Reddy for making Python series.

  • @alitdjhe3481
    @alitdjhe3481 Год назад +1

    I just started learning python
    You are really great ❤❤
    Thank you from Egypt 🇪🇬💙💙

  • @mannemsrikanth3655
    @mannemsrikanth3655 5 лет назад +22

    Answer for quiz :
    1. del nums [2:5]
    nums
    [25,36,26]
    2. We can also use pop to delete specific index numbers i.e
    nums.pop(2)
    nums.pop(3)
    nums.pop(4)
    nums
    [25,36,26]

    • @Tsr2412
      @Tsr2412 2 года назад

      thank you

    • @vickyrock1418
      @vickyrock1418 2 года назад +1

      We can also use remove

    • @chembetikarunakar814
      @chembetikarunakar814 2 года назад

      U get error if u use pop continously because after we use pop it changes its length and we get error pop index out of range

    • @NR44singer
      @NR44singer 2 года назад

      Can we use nums.remove[2:5]

    • @aRCi31
      @aRCi31 2 года назад +1

      del nums [-4:-1] -- code should be as much as simple and correspond with task

  • @swapnilgour1336
    @swapnilgour1336 4 года назад +3

    Sir,
    You teach in a very intresting way, that makes me to understand very well.
    Earlier I thoght that pogramming is quite tough, but after watching these video lecture my perception towards programming has changed a lot.
    Lastly but not the least, thank you sir for making this video lecture programme.I am really thankful to you sir.

  • @ganeshr18
    @ganeshr18 5 лет назад +30

    Your lessons are absolutely crystal clear sir!!!!

  • @thatboysavage_official2056
    @thatboysavage_official2056 2 года назад +4

    Your channel is a great source of coding literacy I've watched 10% of the videos on this playlist 1 night . Really appreciate you.
    Love from Zimbabwe 🇿🇼

  • @LogicalManSujeet
    @LogicalManSujeet 6 лет назад +17

    incredible sir...sir i have a ques.. plz upload a video on how to be a data scientist and its skill set
    ..
    please provide tutorials also

  • @ShivomBiswasF
    @ShivomBiswasF Год назад

    Well thanks a lot sir you are great I am watching this video 4 years after the upload but I loved your explanation a lot.
    and here the answer :-
    nums = [25, 36, 95, 14, 12, 26]
    nums
    [25, 36, 95, 14, 12, 26]
    del nums[2:5]
    nums
    [25, 36, 26]

  • @manassav
    @manassav 6 лет назад +12

    your videos just create interest in programming language.... :-)

  • @nOiCe1204
    @nOiCe1204 4 года назад +1

    bro..i know basics of python..but I got some 2-month break...this is would be the best tutorial to rewind the basic's and for learning also...appreciate you bro...love from ap

  • @prachipalav1640
    @prachipalav1640 4 года назад +29

    You deserve millions of subscribers ❤️

    • @eternalwolverine4027
      @eternalwolverine4027 4 месяца назад

      well he did accomplished 2 mill, but I suppose this was 4 yrs ago.

  • @kumaresan_7
    @kumaresan_7 Год назад +1

    We can delete the collection of values by using reomve
    Remove=[94,14,12]
    print(nums)
    25,36,26

  • @a.y.making931
    @a.y.making931 3 года назад +37

    answer to the assignment question- del nums[2:5]

    • @priyajain2890
      @priyajain2890 Год назад +1

      Can you please lemme know, where the assignment questions or quiz questions are given?

    • @Tushar-dk9fr
      @Tushar-dk9fr Год назад +2

      @@priyajain2890
      At the end of video probably in last minute it show in the red box of the screen.

    • @kavyakunibilli
      @kavyakunibilli 9 месяцев назад +2

      I think nums[2:4] because upto we are mentioning

    • @prosperhopeman9672
      @prosperhopeman9672 8 месяцев назад

      ​@@kavyakunibilliyou are wrong. The poster is correct

  • @datascienceworld7041
    @datascienceworld7041 5 лет назад +2

    First I learned java and now its python ,you are the best teacher

  • @sruthir1236
    @sruthir1236 4 года назад +3

    You deserve more and more credits.
    My best wishes for ur youtube journey sir.

  • @shivkumar-ik9rs
    @shivkumar-ik9rs 4 года назад

    You are unbelievable MR.Navin Reddy Garu,in on word AWESOME, Never saw this type of easy Teaching from you Execellent Grip in your knowledge

  • @ivanwachira7523
    @ivanwachira7523 4 года назад +6

    best tutorial ever.You make what looks hard be simple.

  • @super_youtube681
    @super_youtube681 3 года назад +1

    BEST OUT OF THE BEST TEACHING FOR BIGGNERS BETTER THAN MOST OF THE CORSES ON OTHER WEBSITES

  • @tobiasprice5378
    @tobiasprice5378 5 лет назад +13

    input >>> num = [25,36,95,14,12,26]
    delete>>> del num [2:5]
    result >>> num
    [25, 36, 26]
    >>>

  • @raihanhossain596
    @raihanhossain596 3 месяца назад

    Q. num = [25,36,95,14,12,26]
    if we want to remove the value 95, 14 and 12, we use:
    num.remove (binary formation of that number)
    example: to remove 95, the formula will be num.remove (2)..
    Thank you for this videos. I am learning python throughout the playlist. I hope I will learn enough.

  • @nirajmaurya7680
    @nirajmaurya7680 5 лет назад +5

    These all are interesting and fun to learn
    100% best tutorial.......thank a lot for creating

  • @soumiksagar3147
    @soumiksagar3147 3 года назад +1

    This I think one of the best tutorial on youtube 👍👍👍hats off to you sir.......

  • @louiseaquinin5960
    @louiseaquinin5960 4 года назад +5

    quiz answer
    >>> nums=[25,36,95,14,12,26]
    >>> nums
    [25, 36, 95, 14, 12, 26]
    >>> del nums [2:5]
    >>> nums
    [25, 36, 26]

    • @aswins156
      @aswins156 3 года назад

      how will 26 come in the set if u put [2:5], you should put [2:4]insteadd

  • @praveen_79
    @praveen_79 Год назад +1

    the answer is del nums[2:5] . such a good session thankyou sir

  • @geetabhatt6889
    @geetabhatt6889 4 года назад +6

    >>>nums=[25,36,95,14,12,26]
    >>>del nums[2:5]
    >>>nums
    [25,36,26]

    • @women_kingdom
      @women_kingdom 4 года назад

      geeta bhatt tuple doesn't perform deletion

    • @bohotsaaridhop
      @bohotsaaridhop 4 года назад

      @@women_kingdom It's not a Tuple Just check the Brackets

    • @yahyakilima2958
      @yahyakilima2958 4 года назад

      why is 26 still not deleted?

  • @himachalam584
    @himachalam584 4 года назад +1

    Hi, your teaching skills are speechless for me. you are the best when comes in teaching especially in python or any other programming lang.. i do have a question "When we print a set values it will print regardless of its sequence, but when u try to print same set of vales multiple times it is printing in the same sequence Eg : s = {1, 2, 4, 5, 7, 12}, then we ask for its op with >>>s, OP: {1, 2, 4, 5, 7, 12}, its always print the same sequence. pls answer if my question is agreeable.
    Thanks in advance...

  • @aarthirajendran299
    @aarthirajendran299 4 года назад +12

    Nums=[25,36,95,14,12,26]
    Del nums [2:5]
    O/p = [25,36,26]

    • @abishakkumarrattanpal5021
      @abishakkumarrattanpal5021 4 года назад

      How it's possible

    • @ShreyaRajBEC
      @ShreyaRajBEC 4 года назад +1

      @@abishakkumarrattanpal5021 as 95,14,12 lie on 2nd , 3rd and 4rt place so we can delete them by typing del[2:5]

    • @abishakkumarrattanpal5021
      @abishakkumarrattanpal5021 4 года назад

      @@ShreyaRajBEC thnx.. basically i'm not from CS background...just for learning I got into this course

    • @ShreyaRajBEC
      @ShreyaRajBEC 4 года назад +1

      @@abishakkumarrattanpal5021 same here

    • @abishakkumarrattanpal5021
      @abishakkumarrattanpal5021 4 года назад

      @@ShreyaRajBEC which background?

  • @nirjala8962
    @nirjala8962 Год назад

    Sir ur sessions are really helpful....in the beginning i have no idea about python..ur teaching helped me a lot. As I am an IIIT student...I am really enjoying ur sessions...thanku very much sir. 🙏🙏🙏🙏🙏 The way I teach is quite simple and enjoyable.....

  • @devasish204
    @devasish204 4 года назад +3

    Need more information about how to use those ctrl+space operations for List, set, and Tuple.

  • @adivijji275
    @adivijji275 4 года назад

    Ur channel is a best privilege that a beginner can find .. thank you Navin gaaru

  • @bhavikakapadia2462
    @bhavikakapadia2462 6 лет назад +100

    nums = [23,36,95,14,12,26]
    del nums[2:5]
    nums
    [25,36,26]

    • @rrsk88_farming
      @rrsk88_farming 6 лет назад +2

      Bhavika khatri ? But how

    • @madhu9829
      @madhu9829 6 лет назад +3

      26 should not come

    • @Skaxarrat
      @Skaxarrat 6 лет назад +20

      26 is included because [2:5] would stop at the fifth element without deleting it

    • @RozaLinda281
      @RozaLinda281 6 лет назад +1

      right

    • @adarshchoubey9694
      @adarshchoubey9694 6 лет назад +9

      nums = [23,36,95,14,12,26]
      del nums[2:-1]
      nums
      [25,36,26]

  • @r.gouthamsrisaisknowledgeh1636
    @r.gouthamsrisaisknowledgeh1636 3 года назад

    I am watching each and every video of python coding on all channels but this is the best I subscribed to your channel thanks for saying coding free

  • @nh4572
    @nh4572 3 года назад +7

    Ans is del nums[2:5]
    Am i right sir?

  • @abhijeetpatil3440
    @abhijeetpatil3440 2 года назад +1

    We can add values in tuple like this:
    tup1 = (1,2,3,4)
    tup2 = (5,6,7,8)
    tup3 = tup1 + tup2
    print(tup3)
    print(type(tup3)
    Output:
    (1,2,3,4,5,6,7,8)

  • @Editing_universe09
    @Editing_universe09 Год назад +16

    LIST:
    append() Adds an element at the end of the list
    clear() Removes all the elements from the list
    copy() Returns a copy of the list
    count() Returns the number of elements with the specified value
    extend() Add the elements of a list (or any iterable), to the end of the current list
    index() Returns the index of the first element with the specified value
    insert() Adds an element at the specified position
    pop() Removes the element at the specified position
    remove() Removes the item with the specified value
    reverse() Reverses the order of the list
    sort() Sorts the list
    SET:
    add() Adds an element to the set
    clear() Removes all the elements from the set
    copy() Returns a copy of the set
    difference() Returns a set containing the difference between two or more sets
    difference_update() Removes the items in this set that are also included in another, specified set
    discard() Remove the specified item
    intersection() Returns a set, that is the intersection of two other sets
    intersection_update() Removes the items in this set that are not present in other, specified set(s)
    isdisjoint() Returns whether two sets have a intersection or not
    issubset() Returns whether another set contains this set or not
    issuperset() Returns whether this set contains another set or not
    pop() Removes an element from the set
    remove() Removes the specified element
    symmetric_difference() Returns a set with the symmetric differences of two sets
    symmetric_difference_update() inserts the symmetric differences from this set and another
    union() Return a set containing the union of sets
    update() Update the set with the union of this set and others
    hope this helps

    • @klaus-mikael_son
      @klaus-mikael_son Год назад

      Thank you so much

    • @niranjanns8704
      @niranjanns8704 Год назад

      ofc. if you don't mind, can you give examples? it will be very helpful to me. Thanks for these🙏🙏

  • @aruneshkartik2676
    @aruneshkartik2676 3 года назад +1

    Nice tutor!! concepts get Crystal cleared!! makes programming easy to learn.
    One of the best tutorials on RUclips.

  • @nitishnitish9172
    @nitishnitish9172 4 года назад +6

    del nums[2:5]
    or
    del nums[-4:-1]

  • @mitalkarkar2240
    @mitalkarkar2240 3 года назад

    Way of your presentation is very nice, I mean you are not repeating unnecessary sentences over and over again. Awesome work. Thank you.

  • @bharatbhatia6000
    @bharatbhatia6000 5 лет назад +5

    Undoubtedly your content is awesome!!
    Just out of the context,i think the starting tone is taken from laughter challenge . Is'nt it? :-p

  • @sidhuzfire2378
    @sidhuzfire2378 3 года назад

    Sir tons of thankz ...you are the best tutor.. I am beginner from a non technical background... but intrested to learn data science..was very confused for where to learn python programming...searched so much...and atlast I got the best one..thanku so much sir..now I feel..yaa I too can do it....I will be always grateful to u sir

  • @sravanienuganti4596
    @sravanienuganti4596 4 года назад +3

    Really it is very good for me to learn with this tutorial

  • @VijayaPypuri
    @VijayaPypuri Год назад +1

    Really wanna tell this u r just amazing! The thing I like the most in u r tutorial is u just come to the beginners level mind set and explaining the concept not just like a fully professional going with his flow

  • @unknown__..--
    @unknown__..-- 4 года назад +4

    so the basic difference between list and tupule is () and[] .
    am i right?
    remember i am talking about the basic difference.

  • @chaithureddy7001
    @chaithureddy7001 4 года назад

    hii bro i am chaitanya reddy i had many doughts in basics in python by your guidence i am now able to train my mind easly tq bro

  • @rumanmdhasan6224
    @rumanmdhasan6224 4 года назад +7

    num = [25,36,95,14,12,26]
    del num[2:5]
    print(num)

  • @profkpabila5593
    @profkpabila5593 Год назад

    My Name is Abdul Rashid from Ghana. In fact, I am really enjoying the tutorial for the first five stages. I shall follow to the end.

  • @jitendra.nayak5
    @jitendra.nayak5 6 лет назад +5

    Its Awesome,Thank you for the series..and i like your way of teaching sir ,its really helpful for us ,Thank You.

  • @kalivaraprasad2928
    @kalivaraprasad2928 4 года назад

    Navin, I am a Mechanical Engineer, having 0 knowledge in programming. Want to change my career into programming. Once I started browsing tutors in you tube, I saw your video, I feel like i am in comfortable zone that I found the right tutor.

  • @hasibkhan8600
    @hasibkhan8600 5 лет назад +5

    nums = [25, 36, 95, 14, 12, 26]
    del nums[2:5]
    output: [25, 36, 26]

    • @gouravrathor9186
      @gouravrathor9186 5 лет назад

      can you tell me how to use it or from where i can learn it

  • @siddupujari9023
    @siddupujari9023 2 года назад

    not everyone can be best at teaching, but You are ...always start with basics.. thats way to go .. good one

  • @sanatangoyal8402
    @sanatangoyal8402 4 года назад

    sir because of you i can learn these all things in very very evry easy way. salute to you sir

  • @harsiddhisinghdev4650
    @harsiddhisinghdev4650 6 лет назад +14

    Thanku sir please explain data science using phython in upcoming vedio's please sir..:-)

  • @ramakrishnagubbala2774
    @ramakrishnagubbala2774 3 года назад +2

    Your teaching is really easily understandable and fabulous.
    It very easy for beginners to get a great knowledge sir👏this is the worthy youtube channel with great lectures teaching point to point

  • @snehajitchandra2976
    @snehajitchandra2976 6 лет назад +7

    Excellent video sir!!!

  • @raviraimittal
    @raviraimittal Год назад +1

    # 2nd way to solve
    nums=[25,36,95,14,12,26]
    nums.remove(95)
    nums.remove(14) # here we have to use remove function separately for each number as it takes only one argument at a time
    nums.remove(12)
    print(nums)

  • @RameshBabu-di5wn
    @RameshBabu-di5wn 4 года назад +3

    del[2:5]

  • @totaloverdose3505
    @totaloverdose3505 5 лет назад +1

    Tuple can be modified by unpacking and packing technique.
    T=(56,6,7,32,65)
    T=A,B,C,D,E
    A,B,C,D,E=34,56,89,53,69.

  • @rrsk88_farming
    @rrsk88_farming 6 лет назад +6

    I'm enjoying this series 👍

  • @prathameshiyer5797
    @prathameshiyer5797 4 года назад +1

    Sir should I go the step by step video for python in this tutorial or a whole full fledged 6 hr video of yours?

  • @MANISHSHARMA-xk1su
    @MANISHSHARMA-xk1su 6 лет назад +5

    Amazing video sir....❤️

  • @shankargope2475
    @shankargope2475 Год назад +1

    Learning and practicing the foundation concepts of python with utmost clarity👌All thanks to your teaching methods 🙏. The way you have delivered the lectures keeping the simplicity is really very much helpful. Love your teaching sir ❤

  • @paraspandey3401
    @paraspandey3401 3 года назад +33

    who are after there class 12th :-)

  • @zahrasadeghibogar
    @zahrasadeghibogar 3 года назад +2

    Thank you very much for your interesting way of teaching. I have a question. Did you put all of your python-related tutorial in a long single course? If it is Not, why? It will be much more helpful.

    • @kalubdailey6257
      @kalubdailey6257 3 года назад

      It actually wouldn't be very helpful, especially to those who like to learn in small segments or only have limited time to watch tutorials, so smaller bits on specific subjects makes it much easier to learn.

  • @thelost8203
    @thelost8203 4 года назад +3

    can we use pop in set? it says "pop() takes no arguments (1 given)"
    set does not support indexing right?
    Refrence to 5:33

    • @arghyabhattacharya7922
      @arghyabhattacharya7922 4 года назад

      same question

    • @thimmarajur1437
      @thimmarajur1437 4 года назад

      It doesn't support indexing right......but in sets we cannot specify indexing inside brackets and we can just use .pop() and it removes last element

  • @bhargavreddy9485
    @bhargavreddy9485 3 года назад +1

    Really you are making my process of learning easier..

  • @Mynotes-mr7uw
    @Mynotes-mr7uw Год назад +3

    6:28 del nums[2:5]

  • @HariPrasad-oi1vp
    @HariPrasad-oi1vp 4 года назад

    1:pop(2),pop(3),pop(4),pop(-2),pop(-3)pop(-4),del nums[2:5],remove nums[2:5] or by each one

  • @rocky8570
    @rocky8570 5 лет назад +3

    nums = [25,36,95,14,12,26]
    del nums[2:5]
    print(nums)
    OUTPUT = [25,36,26]

  • @samyakjaipuria2729
    @samyakjaipuria2729 4 года назад +1

    your videos just create interest in the programming language

  • @chandrasekharreddi1106
    @chandrasekharreddi1106 6 лет назад +5

    Ctrl+space not working

  • @KRITIKARANIDEB
    @KRITIKARANIDEB Год назад

    hi Navin. I am 9 years old and thank you for helping me with python, I really appreciate it.

  • @alqamasharique4196
    @alqamasharique4196 5 месяцев назад +4

    Legends watching this in 2024🤣

  • @priyanshuthegeek7062
    @priyanshuthegeek7062 5 лет назад +1

    I tested the same values you tested in the set and I got the same results in both
    >>> s = {22,25,14,21,5}
    >>> s
    {5, 14, 21, 22, 25}
    >>> s = {25,14,98,63,75,98}
    >>> s
    {98, 75, 14, 25, 63}

  • @993jagan
    @993jagan 5 лет назад +6

    I'm not getting the pop-up's .what might be the problem. even ctrl+space is also not working

    • @PriyankaGupta-le1dt
      @PriyankaGupta-le1dt 4 года назад

      me too not getting in list also and here also

    • @bharathsai4604
      @bharathsai4604 4 года назад

      @@PriyankaGupta-le1dt same here i am using 3.8 interpreter
      I guess it will come in pycharm community version

  • @vineethgodwindsouza427
    @vineethgodwindsouza427 4 года назад

    By using tup we can change the value in a particular position
    >>> tup
    [7, 8, 'k', 9]
    >>> tup[0]
    7
    >>> tup[0]=0
    >>> tup
    [0, 8, 'k', 9]
    >>> tup[0]=4
    >>> tup
    [4, 8, 'k', 9]
    >>>

  • @Sample24
    @Sample24 9 месяцев назад

    We can remove each element individually by either remove or pop function incase if you need to remove more than 1 element we can go with this
    nums = [25,36,95,14,12,26]
    for x in nums:
    if x not in (95,14,12):
    print(x)

  • @valorantclipbaiter2925
    @valorantclipbaiter2925 5 лет назад +3

    I have never seen such nice tutor sir.keep it up

  • @lipsa2
    @lipsa2 2 года назад

    I really appreciate the way of your teaching. it's formatted, clear and concise.

  • @RaselAhmed-sb5xx
    @RaselAhmed-sb5xx 3 года назад +1

    The answer maybe del nums[2:5] the print(nums) that shows [ 25,36,26]

  • @khandavallidevi6976
    @khandavallidevi6976 4 года назад

    Your way of teaching is really excellent