Tutorial 2 - Python List and Boolean Variables

Поділитися
Вставка
  • Опубліковано 24 гру 2024

КОМЕНТАРІ • 130

  • @keerthikalyan1022
    @keerthikalyan1022 5 років тому +31

    i started learning python from your videos please don't stop uploading videos please upload All Concepts till the end..your doing great job..one day your helping Brings Lot of Happiness to your life..

  • @becomplextobesimple
    @becomplextobesimple 4 роки тому +2

    Hey I understand Indian accent. Thanks for course. It is the one of best channels of data science in UA-cam

  • @irfanmoosani7771
    @irfanmoosani7771 4 роки тому +7

    I am a beginner and you caught my interest. Now I really want to learn more.

  • @TamilArasan-hk8ub
    @TamilArasan-hk8ub 4 місяці тому

    You are the eye opener as I was searching in-built functions everytime and I had learnt the trick that just pressing tab will give list of inbuilt functions then shift+tab give explanation :)

  • @rishikagoyal8043
    @rishikagoyal8043 Рік тому +2

    Best way to explain concepts 💯

  • @seemajoshi2675
    @seemajoshi2675 3 роки тому +5

    Very helpful videos... I successfully tried many examples with different alternatives. These videos developed my interest in learning data science . Thanks a lot.

  • @NamNguyễnHoài-f2s
    @NamNguyễnHoài-f2s Рік тому +1

    You explained everything so clearly . Thanks for your effort sir

  • @rajasakthikumarrajendran5806
    @rajasakthikumarrajendran5806 3 роки тому

    i was able get many methods of string and list in single video thanks a lot

  • @mohammadshahinul5739
    @mohammadshahinul5739 2 роки тому

    Your name starts with "K" & ends with "K", because you are the "King"😍 #much_love #from_Bangladesh

  • @shubhamchaudhary7322
    @shubhamchaudhary7322 3 роки тому +1

    done...heading to video number 6 :)

  • @sonalirevalkar1037
    @sonalirevalkar1037 4 роки тому +7

    It was really helpful.. Would like to learn about R programming too...

  • @rohank9292
    @rohank9292 5 років тому +14

    Thankyou for making these videos on Python and data science that are immensely helpful as a guide to learn this vast subject.

  • @ravishankar0901
    @ravishankar0901 4 роки тому

    Krish Garu - You are doing great job.

  • @sciencesconnectus7001
    @sciencesconnectus7001 3 роки тому

    Your explanation is very very nice

  • @simanchalpatnaik2566
    @simanchalpatnaik2566 5 років тому +2

    Nice lectures Krish..Easy to understand..Thank you

  • @AbhishekSharma-pw3ep
    @AbhishekSharma-pw3ep 4 роки тому +5

    hi krish naik, at 4:57, it says isalnum #check if all char is num, ##not just num it check for num and alphabet too, i like your course, thanks for uploading, i liked shared and subscribed to show my support.

  • @nikhilranjan32
    @nikhilranjan32 3 роки тому

    krish bhaiya ur so good.

  • @mtcricketpredictions7624
    @mtcricketpredictions7624 4 місяці тому +1

    4:12 small correction. It is false because of the space.

  • @PankajKumar-ps5gg
    @PankajKumar-ps5gg 3 роки тому +2

    At 4:14 isalnum() is giving False due to the space character in the string as it is not alphanumeric

  • @JobsVidha
    @JobsVidha 18 днів тому

    Amazing content

  • @llokur9989
    @llokur9989 3 роки тому

    Wow...you are too good..thanks

  • @KetakiVaidya
    @KetakiVaidya 4 роки тому +13

    Hey Krish. Thanks for uploading these videos. They are really helpful. One small suggestion,
    when you talked about the index(value,startIndex,stopIndex) method, you missed out on specifying one important point:
    When all the three parameters are mentioned in index(value,startIndex,stopIndex),the list searches for the element with the given value from startIndex to stopIndex-1
    my_list=[1,2,3,4,1]
    my_list.index(1,1,4) -> this returns the error 1 not in the list
    my_list.index(1,1,5) -> this correctly returns 4
    It will be helpful for every one if you can emphasize on this assumption.Thanks

    • @debayanmazumdar3056
      @debayanmazumdar3056 4 роки тому +1

      You wrote append instead of index. Anyways thanks for sharing!!

    • @KetakiVaidya
      @KetakiVaidya 4 роки тому +1

      @@debayanmazumdar3056 Corrected it. Thanks.

  • @abhishekkumar465
    @abhishekkumar465 3 роки тому

    At 4:15, it is giving false due to whitespace not because it does not have numbers.

  • @cutyoopsmoments2800
    @cutyoopsmoments2800 5 років тому +11

    Hi sir, your voice is up and down, kindly check it.

  • @arpitagec9
    @arpitagec9 5 років тому +2

    Thanks Sir😊👍

  • @samarthkamkar8278
    @samarthkamkar8278 2 роки тому

    thank you sir, it is usefull for me and previous also

  • @tejusgunjikar1160
    @tejusgunjikar1160 11 місяців тому +1

    Hi I have started python from your videos ...small doubt the exercise file you told that will get in gethub is not available. Can you guide me where to get it from

  • @ashanbandaranayeke9344
    @ashanbandaranayeke9344 9 місяців тому

    Thanks! enjoyed and learnt with this.

  • @Prateek-vo9zo
    @Prateek-vo9zo 3 роки тому

    best tutorial on python

  • @rohitguleria100
    @rohitguleria100 Рік тому +2

    Sir i was going through your videos to learn python but i found that code with harry is good to start...bcs his way his pace his language works like smooth bridge to connect new student and concept

  • @louerleseigneur4532
    @louerleseigneur4532 3 роки тому

    Thanks Krish

  • @wellwhatdoyakno6251
    @wellwhatdoyakno6251 2 роки тому

    8:07 for my example, I used the same as above, but getting False, why so?

  • @sagarpandya7865
    @sagarpandya7865 3 роки тому

    great amazing explanation

  • @dipannita7436
    @dipannita7436 3 роки тому

    nice video,useful

  • @sumansaurabh1640
    @sumansaurabh1640 3 роки тому

    You're awesome dude.

  • @sakshisinha9789
    @sakshisinha9789 2 роки тому

    you are amazing sir

  • @sharathkumar2935
    @sharathkumar2935 5 років тому +4

    Hi sir thanks a ton for uploading such easy to understand videos..
    Sir i have an outdated computer, so i was looking to buy a new laptop or a pc in a week..
    So pls suggest me which might be the best configuration so that i could use it for machine learning

    • @rahulpathak2292
      @rahulpathak2292 5 років тому

      16gb ram 1TB of hard disk along with 256 gb of SSD and a minimum of 1050 NVIDIA graphics would do in order to learn machine learning.

  • @yadhunandan5765
    @yadhunandan5765 4 роки тому

    Hi sir I like the class you take. Sir i wan to become a ai engineer soon by learning your videos even i will join ur channel sir.

  • @rohithebbar10
    @rohithebbar10 4 роки тому +1

    Sir, In the Machine Learning Playlist the tutorial 14 is missing. Can you tell me what is in the tutorial 14?

  • @simanchalpatnaik2566
    @simanchalpatnaik2566 5 років тому +2

    Could you please share the .ipynb files after end of each lecture

  • @kushagrasingh3119
    @kushagrasingh3119 3 роки тому

    happy teachers day :)

  • @samarthjuneja7616
    @samarthjuneja7616 5 місяців тому

    Completed on 30/6/24

  • @beastrocks2341
    @beastrocks2341 5 років тому +2

    Sir can I know per day how many videos u will upload on this course ?

  • @vijaynale7893
    @vijaynale7893 5 років тому +3

    Krish bro one thing you forgot , I am waiting for kaggle competition House price prediction feature selection and improve our accuracy please upload that , I am curious see how rank gets below 100

  • @papachoudhary5482
    @papachoudhary5482 5 років тому +2

    Thanks

  • @seelaswain8954
    @seelaswain8954 3 роки тому

    I have few items in list1. I ran len(list1), I am getting 'builtin_function_or_method' object is not subscriptable error. What could be the reason?

  • @PriyanshuKumar-nn7oz
    @PriyanshuKumar-nn7oz Рік тому

    sir, when i am writing any one sentence under colon and using isalnum() function it is showing output true but sir i have written only string under colon and one more thing sir when i write two sentence in a colon like "priyanshu go" it is giving output false how it is possible sir ?

    • @yeswanthsairam3682
      @yeswanthsairam3682 10 місяців тому

      Please, remove the space, space is neither alphabet or numerical.

  • @arvindsharma3097
    @arvindsharma3097 4 роки тому

    Hello Krish Naik thanks for your videos.
    My question is why 'instant creations' is showing true while check for isalnum. iPython showing TRUE.

  • @gayathri.nagarajan
    @gayathri.nagarajan 4 роки тому +1

    Krish, can you suggest me a playlist or set of tutorials to learn Python, if a person is familiar with R and has learnt R programming recently.

  • @aamnasuhail4468
    @aamnasuhail4468 3 роки тому

    Done !! and Implemented

  • @anandacharya9919
    @anandacharya9919 5 років тому +1

    Hello sir, when you will start your course at UDEMY

  • @prawinn4512
    @prawinn4512 4 роки тому

    Hello Krish, what are the best machine learning books, material can I refer please let me know. Thank you

  • @mokshaGyanRam
    @mokshaGyanRam 3 роки тому

    easy and wise teachings thanks sir. hopefully you will tell me that if Mac m1 is suitable for data science I have installed anaconda as u told in your intro video thanks gbu

  • @mohammadmujeeb6592
    @mohammadmujeeb6592 2 роки тому

    hello krish sir, please tell me how to function definition in google colab?

  • @mandli1904
    @mandli1904 4 роки тому +1

    Hello Krish,.
    Do you teach students ? I'd love to learn from you.

  • @nagireddyyavasani3628
    @nagireddyyavasani3628 3 роки тому

    Is this playlist is inorder?

  • @rohitshende8788
    @rohitshende8788 3 роки тому

    Sir in bollean variable I'm not able to open the option of functions even after pressing tab

  • @abhi9raj776
    @abhi9raj776 4 роки тому +1

    thanks sir!!

  • @aanchaldogra
    @aanchaldogra 5 років тому +1

    Weren't you supposed to charge for the full course ? Or is that a different one

    • @krishnaik06
      @krishnaik06  5 років тому +4

      I am making python free for everyone

    • @aanchaldogra
      @aanchaldogra 5 років тому +4

      @@krishnaik06 Dear Krish I think you should charge a minimal amount and with that money experiment with the animation or hiring graphic designer to make the brand look appealing as well. Content is top class, though it needs a little tweaking and presentation which needs money. A website will also be a great option, You have everything in you to deliver guest lectures in top universities. I am from IIT Roorkee and I guarantee you are better than the head of analytics we had.
      Good luck and God bless you.

  • @SariMuhri
    @SariMuhri 5 років тому

    thank krish btw do you mind to teach us how to use altair?

  • @striders5473
    @striders5473 5 років тому +1

    Maybe there is some problem with mic the voice is glitching..... Very good video easy and simple... You teach well.... Please check for the issue though. Also stop saying "basically" too much 🤣.

  • @gtnawab123
    @gtnawab123 2 роки тому

    Hi Krish, I am unable to open the file (2-Python List,Dictionary,Sets etc.ipynb) downloaded from github. The following error comes up Unreadable Notebook NotJSONError("Notebook does not appear to be JSON: '\
    \
    \
    \
    \
    \
    \

  • @tejeswarreddy4842
    @tejeswarreddy4842 Рік тому

    sir i am not getting those options if i press tab

  • @DistractedGaming-d2j
    @DistractedGaming-d2j Рік тому

    sir aapne jo ye python ka course karwaya hai unke pdf mil jayenge

  • @bkirankumar4266
    @bkirankumar4266 4 роки тому

    Why Can't I directly assign the appended list to a new list?
    example: lst1=[1,2,3,4]
    lst2= lst1.append("new")
    print(lst2)
    Here, I want a new list without changing the earlier one ?
    In fact this applies to all the functions(eg: extend/append/reverse/pop/insert..........
    Is there a way that the initial list remains untouched and we can make changes as per the requirement and store them in diff list/variables.
    I've seen this working in dataframes of 'R' language.
    Do we have an alternate here in Python

    • @bkirankumar4266
      @bkirankumar4266 4 роки тому

      Hi Krish, I got answer for my question. The alternate was tuple. May not be exactly like dataframe in 'R', but serves as an alternate. Thanks Mate

  • @shreyasaini6112
    @shreyasaini6112 Рік тому

    I entered name= "Hello"
    but when i'm running print(name.isalnum()) it is giving me True as o/p. why??

    • @SridharD-wj9dx
      @SridharD-wj9dx Рік тому

      That is correct. Because, isalnum() function checks if all characters in the string are alphabets or all characters are numeric or a combination of both. If there is a space between words in string (e.g., 'Krish Naik'), it returns False, as space character is neither alpha nor numeric.

  • @prakharagrawal4794
    @prakharagrawal4794 3 роки тому

    Do we have any notes for python?

  • @harisankar6104
    @harisankar6104 4 роки тому

    at 4:28 he is getting false because of the space in between his name otherwise .isalnum can give true when there is only alphabet or only number

  • @Teju0707
    @Teju0707 5 років тому +1

    Krish, your voice is going low/off very often. Please check this issue for your future videos

  • @missionai6736
    @missionai6736 4 роки тому

    thank you for video
    lst_=({1,2,4,34,5})
    why not it is dic?sir

  • @yashkhorania3726
    @yashkhorania3726 3 роки тому

    .isaplha() -> Checks if all characters are alphabets and numeric

  • @hardikmehta140
    @hardikmehta140 Рік тому

    Completed 27 June 2023

  • @San2shsingh
    @San2shsingh 2 роки тому

    How to check index of a specific item

  • @AnuragPant-z1j
    @AnuragPant-z1j Рік тому

    Why i am getting list item is not callable error

  • @supreethsgowda1941
    @supreethsgowda1941 4 роки тому

    When i press tab after typing "my_str." i do not get the list of functions. Should I turn on this feature somewhere?

  • @JacklinSibiyal
    @JacklinSibiyal 10 місяців тому +4

    Day 1- 16/02/2024

  • @sakethvuppula9519
    @sakethvuppula9519 3 роки тому

    Hi Krish,
    Can you let me know where can I practice Python online?

  • @shekharbhatt1797
    @shekharbhatt1797 4 роки тому

    Bro at last I can't understand index like where our digit placed could u please tell me

    • @tintintintin576
      @tintintintin576 4 роки тому

      for example -
      d = [1,2,3,4,45,1,5,5,5,5]
      d.index(5,2,7) ------- compare with-------> d.index(value, start_index, stop_index)
      output = 6
      It will simply scan that between the range (start n stop index) at which index the value is present. Output will be the index at which the value is present for the first time (first occurrence) in that particular range.
      6 is answer because - d.index command will tell that between the start and stop range at which index the number 5 is present!
      hope this makes sense... happy learning..

  • @prithviraj627
    @prithviraj627 2 роки тому

    IDK why but I'm getting really different values when I use the operation.

  • @wellwhatdoyakno6251
    @wellwhatdoyakno6251 2 роки тому

    at 5:41, I am using my name "without numbers" just my name yet it returned ALphaNum as "true"
    Why is that Krish?

  • @suheledrisi406
    @suheledrisi406 7 місяців тому

    Bhai looping ke lec kaha hai ?

  • @zampak121
    @zampak121 3 роки тому

    Hi Im a beginner in Python. I am getting below error please help
    name 'my_str' is not defined

    • @abhaypathak5751
      @abhaypathak5751 Рік тому

      execute my_str also using shift+enter.....then

  • @054_ronitkumar2
    @054_ronitkumar2 2 роки тому

    sir please provide notes of these all lectures...without it is difficuilt to do...

  • @bcinerd
    @bcinerd 3 роки тому

    sir my name is Anuj I am first year student do i learn python ? coz I don't have enough knowledge in programming Lang like c or c++

  • @Mohammed_783
    @Mohammed_783 5 років тому

    Hello Krish Naik Sir, I started learning python course, I am a graduation B.com background, So after I will complete the courses and I will apply for the job, Companies will acceptable for the opportunity. Why because I am not a b-tech or engineering background. It is possible to learn python?

  • @kalyaniaksv9518
    @kalyaniaksv9518 5 років тому +2

    Please make a videos on artificial intelligence complete course

  • @abdulakram480
    @abdulakram480 Місяць тому

    Done

  • @SandeepDasVlogs
    @SandeepDasVlogs 4 роки тому +5

    Input : Krish_Naik.count(basically)
    Output : Infinity
    😂😂

  • @vinitagham
    @vinitagham 3 роки тому

    Getting error
    lst=list ()
    List object is not callable

  • @AamirGaming-FF
    @AamirGaming-FF 23 дні тому

    Who all came through Sahil Gogna link?

  • @venkataduri5790
    @venkataduri5790 5 років тому

    lst=list()
    Above code snippet giving the following error
    ---------------------------------------------------------------------------
    TypeError Traceback (most recent call last)
    in
    ----> 1 lst=list()
    TypeError: 'list' object is not callable
    Any help will be appreciated.

    • @krishnaik06
      @krishnaik06  5 років тому

      Check whether u have created a variable list. If yes restart the kernel an d execute once again

  • @hrithiksharma5642
    @hrithiksharma5642 4 роки тому

    bhai is me add bhot areee h ????

  • @gauravkumarverma5322
    @gauravkumarverma5322 4 роки тому

    lst=list()
    This is not working....

  • @sjshirolkar
    @sjshirolkar 3 роки тому

    Blurred video . tutorial 2 for python

  • @ver.vaibhav007
    @ver.vaibhav007 Рік тому

    Very much thankful for the material
    However, I do have a question out of curiosity, if you don't mind🤔
    Why do you have upsc. gov. In in your bookmarks?

  • @ArnabGhosh-by1uz
    @ArnabGhosh-by1uz 3 роки тому

    Thank you sir. 😊

  • @vinodkinoni4863
    @vinodkinoni4863 5 років тому +1

    thanks

  • @hometvfirestick
    @hometvfirestick 3 роки тому

    thanks