Tutorial 2 - Python List and Boolean Variables

  Рет қаралды 321,825

Krish Naik

Krish Naik

Күн бұрын

Hello All,
Welcome to the Python Crash Course. In this video we will see about python List and Boolean Variables
github url : github.com/krishnaik06/Machin...
Support me in Patreon: / 2340909
Connect with me here:
Twitter: / krishnaik06
Facebook: / krishnaik06
instagram: / krishnaik06
If you like music support my brother's channel
/ @ultralifeproject
Buy the Best book of Machine Learning, Deep Learning with python sklearn and tensorflow from below
amazon url:
www.amazon.in/Hands-Machine-L...
You can buy my book on Finance with Machine Learning and Deep Learning from the below url
amazon url: www.amazon.in/Hands-Python-Fi...
Subscribe my unboxing Channel
/ @krishnaikhindi
Below are the various playlist created on ML,Data Science and Deep Learning. Please subscribe and support the channel. Happy Learning!
Deep Learning Playlist: • Tutorial 1- Introducti...
Data Science Projects playlist: • Generative Adversarial...
NLP playlist: • Natural Language Proce...
Statistics Playlist: • Population vs Sample i...
Feature Engineering playlist: • Feature Engineering in...
Computer Vision playlist: • OpenCV Installation | ...
Data Science Interview Question playlist: • Complete Life Cycle of...
You can buy my book on Finance with Machine Learning and Deep Learning from the below url
amazon url: www.amazon.in/Hands-Python-Fi...
🙏🙏🙏🙏🙏🙏🙏🙏
YOU JUST NEED TO DO
3 THINGS to support my channel
LIKE
SHARE
&
SUBSCRIBE
TO MY KZfaq CHANNEL

Пікірлер: 125
@keerthikalyan1022
@keerthikalyan1022 4 жыл бұрын
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..
@aditya9483
@aditya9483 6 ай бұрын
ok
@irfanmoosani7771
@irfanmoosani7771 4 жыл бұрын
I am a beginner and you caught my interest. Now I really want to learn more.
@seemajoshi2675
@seemajoshi2675 3 жыл бұрын
Very helpful videos... I successfully tried many examples with different alternatives. These videos developed my interest in learning data science . Thanks a lot.
@rohank9292
@rohank9292 4 жыл бұрын
Thankyou for making these videos on Python and data science that are immensely helpful as a guide to learn this vast subject.
@user-xn5ut5pn2h
@user-xn5ut5pn2h 10 ай бұрын
You explained everything so clearly . Thanks for your effort sir
@rajasakthikumarrajendran5806
@rajasakthikumarrajendran5806 2 жыл бұрын
i was able get many methods of string and list in single video thanks a lot
@becomplextobesimple
@becomplextobesimple 3 жыл бұрын
Hey I understand Indian accent. Thanks for course. It is the one of best channels of data science in KZfaq
@simanchalpatnaik2566
@simanchalpatnaik2566 4 жыл бұрын
Nice lectures Krish..Easy to understand..Thank you
@rishikagoyal8043
@rishikagoyal8043 10 ай бұрын
Best way to explain concepts 💯
@rohitguleria100
@rohitguleria100 Жыл бұрын
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
@sonalirevalkar1037
@sonalirevalkar1037 4 жыл бұрын
It was really helpful.. Would like to learn about R programming too...
@ravishankar0901
@ravishankar0901 3 жыл бұрын
Krish Garu - You are doing great job.
@ashanbandaranayeke9344
@ashanbandaranayeke9344 4 ай бұрын
Thanks! enjoyed and learnt with this.
@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.
@samarthkamkar8278
@samarthkamkar8278 2 жыл бұрын
thank you sir, it is usefull for me and previous also
@sciencesconnectus7001
@sciencesconnectus7001 3 жыл бұрын
Your explanation is very very nice
@llokur9989
@llokur9989 3 жыл бұрын
Wow...you are too good..thanks
@sharathkumar2935
@sharathkumar2935 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 4 жыл бұрын
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.
@KetakiVaidya
@KetakiVaidya 4 жыл бұрын
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 3 жыл бұрын
You wrote append instead of index. Anyways thanks for sharing!!
@KetakiVaidya
@KetakiVaidya 3 жыл бұрын
@@debayanmazumdar3056 Corrected it. Thanks.
@sagarpandya7865
@sagarpandya7865 2 жыл бұрын
great amazing explanation
@arpitagec9
@arpitagec9 4 жыл бұрын
Thanks Sir😊👍
@shubhamchaudhary7322
@shubhamchaudhary7322 3 жыл бұрын
done...heading to video number 6 :)
@Prateek-vo9zo
@Prateek-vo9zo 3 жыл бұрын
best tutorial on python
@AbhishekSharma-pw3ep
@AbhishekSharma-pw3ep 3 жыл бұрын
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.
@PriteshsRhymes
@PriteshsRhymes 2 жыл бұрын
This comment should be pinned
@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
@nikhilranjan32
@nikhilranjan32 2 жыл бұрын
krish bhaiya ur so good.
@sumansaurabh1640
@sumansaurabh1640 3 жыл бұрын
You're awesome dude.
@cutyoopsmoments2800
@cutyoopsmoments2800 4 жыл бұрын
Hi sir, your voice is up and down, kindly check it.
@rohithebbar10
@rohithebbar10 3 жыл бұрын
Sir, In the Machine Learning Playlist the tutorial 14 is missing. Can you tell me what is in the tutorial 14?
@gayathri.nagarajan
@gayathri.nagarajan 3 жыл бұрын
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.
@ArnabGhosh-by1uz
@ArnabGhosh-by1uz 3 жыл бұрын
Thank you sir. 😊
@beastrocks2341
@beastrocks2341 4 жыл бұрын
Sir can I know per day how many videos u will upload on this course ?
@sakshisinha9789
@sakshisinha9789 Жыл бұрын
you are amazing sir
@dipannita7436
@dipannita7436 3 жыл бұрын
nice video,useful
@SariMuhri
@SariMuhri 4 жыл бұрын
thank krish btw do you mind to teach us how to use altair?
@abhi9raj776
@abhi9raj776 4 жыл бұрын
thanks sir!!
@papachoudhary5482
@papachoudhary5482 4 жыл бұрын
Thanks
@tejusgunjikar1160
@tejusgunjikar1160 6 ай бұрын
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
@arvindsharma3097
@arvindsharma3097 3 жыл бұрын
Hello Krish Naik thanks for your videos. My question is why 'instant creations' is showing true while check for isalnum. iPython showing TRUE.
@mandli1904
@mandli1904 3 жыл бұрын
Hello Krish,. Do you teach students ? I'd love to learn from you.
@louerleseigneur4532
@louerleseigneur4532 3 жыл бұрын
Thanks Krish
@aamnasuhail4468
@aamnasuhail4468 3 жыл бұрын
Done !! and Implemented
@mohammadshahinul5739
@mohammadshahinul5739 2 жыл бұрын
Your name starts with "K" & ends with "K", because you are the "King"😍 #much_love #from_Bangladesh
@simanchalpatnaik2566
@simanchalpatnaik2566 4 жыл бұрын
Could you please share the .ipynb files after end of each lecture
@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?
@vinodkinoni4863
@vinodkinoni4863 4 жыл бұрын
thanks
@prawinn4512
@prawinn4512 4 жыл бұрын
Hello Krish, what are the best machine learning books, material can I refer please let me know. Thank you
@vijaynale7893
@vijaynale7893 4 жыл бұрын
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
@krishnaik06
@krishnaik06 4 жыл бұрын
Still working on it brother
@vijaynale7893
@vijaynale7893 4 жыл бұрын
Please upload that one
@rohitshende8788
@rohitshende8788 3 жыл бұрын
Sir in bollean variable I'm not able to open the option of functions even after pressing tab
@anandacharya9919
@anandacharya9919 4 жыл бұрын
Hello sir, when you will start your course at UDEMY
@PankajKumar-ps5gg
@PankajKumar-ps5gg 3 жыл бұрын
At 4:14 isalnum() is giving False due to the space character in the string as it is not alphanumeric
@pratikjanani743
@pratikjanani743 2 жыл бұрын
Correct. If you get rid of the space, the value turns to true
@hometvfirestick
@hometvfirestick 2 жыл бұрын
yes
@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
@abhishekkumar465
@abhishekkumar465 3 жыл бұрын
At 4:15, it is giving false due to whitespace not because it does not have numbers.
@Mohammed_783
@Mohammed_783 4 жыл бұрын
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?
@samarthjuneja7616
@samarthjuneja7616 17 күн бұрын
Completed on 30/6/24
@wellwhatdoyakno6251
@wellwhatdoyakno6251 2 жыл бұрын
8:07 for my example, I used the same as above, but getting False, why so?
@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: '\ \ \ \ \ \ \
@missionai6736
@missionai6736 4 жыл бұрын
thank you for video lst_=({1,2,4,34,5}) why not it is dic?sir
@mohammadmujeeb6592
@mohammadmujeeb6592 Жыл бұрын
hello krish sir, please tell me how to function definition in google colab?
@prithviraj627
@prithviraj627 2 жыл бұрын
IDK why but I'm getting really different values when I use the operation.
@kushagrasingh3119
@kushagrasingh3119 2 жыл бұрын
happy teachers day :)
@PriyanshuKumar-nn7oz
@PriyanshuKumar-nn7oz 10 ай бұрын
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 4 ай бұрын
Please, remove the space, space is neither alphabet or numerical.
@striders5473
@striders5473 4 жыл бұрын
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 🤣.
@krishnaik06
@krishnaik06 4 жыл бұрын
;) yes trying hard
@tejeswarreddy4842
@tejeswarreddy4842 9 ай бұрын
sir i am not getting those options if i press tab
@054_ronitkumar2
@054_ronitkumar2 2 жыл бұрын
sir please provide notes of these all lectures...without it is difficuilt to do...
@supreethsgowda1941
@supreethsgowda1941 3 жыл бұрын
When i press tab after typing "my_str." i do not get the list of functions. Should I turn on this feature somewhere?
@biopic5089
@biopic5089 3 жыл бұрын
try shift + tab
@rohitshende8788
@rohitshende8788 3 жыл бұрын
Mine is also the Same problem
@rohitshende8788
@rohitshende8788 3 жыл бұрын
I tried to press shift +tab though it not coming optiona
@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..
@nagireddyyavasani3628
@nagireddyyavasani3628 2 жыл бұрын
Is this playlist is inorder?
@Teju0707
@Teju0707 4 жыл бұрын
Krish, your voice is going low/off very often. Please check this issue for your future videos
@kalyaniaksv9518
@kalyaniaksv9518 4 жыл бұрын
Please make a videos on artificial intelligence complete course
@prakharagrawal4794
@prakharagrawal4794 2 жыл бұрын
Do we have any notes for python?
@San2shsingh
@San2shsingh Жыл бұрын
How to check index of a specific item
@aanchaldogra
@aanchaldogra 4 жыл бұрын
Weren't you supposed to charge for the full course ? Or is that a different one
@krishnaik06
@krishnaik06 4 жыл бұрын
I am making python free for everyone
@aanchaldogra
@aanchaldogra 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.
@sakethvuppula9519
@sakethvuppula9519 3 жыл бұрын
Hi Krish, Can you let me know where can I practice Python online?
@kaifmomin7351
@kaifmomin7351 2 жыл бұрын
on datacamp
@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++
@user-db5kv7gk8q
@user-db5kv7gk8q Жыл бұрын
Why i am getting list item is not callable error
@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 9 ай бұрын
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.
@yashkhorania3726
@yashkhorania3726 3 жыл бұрын
.isaplha() -> Checks if all characters are alphabets and numeric
@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
@hardikmehta140
@hardikmehta140 Жыл бұрын
Completed 27 June 2023
@harisankar6104
@harisankar6104 3 жыл бұрын
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
@user-gs3kq3mi7n
@user-gs3kq3mi7n 11 ай бұрын
sir aapne jo ye python ka course karwaya hai unke pdf mil jayenge
@vinitagham
@vinitagham 2 жыл бұрын
Getting error lst=list () List object is not callable
@suheledrisi406
@suheledrisi406 Ай бұрын
Bhai looping ke lec kaha hai ?
@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?
@SandeepDasVlogs
@SandeepDasVlogs 4 жыл бұрын
Input : Krish_Naik.count(basically) Output : Infinity 😂😂
@venkataduri5790
@venkataduri5790 4 жыл бұрын
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 4 жыл бұрын
Check whether u have created a variable list. If yes restart the kernel an d execute once again
@gauravkumarverma5322
@gauravkumarverma5322 3 жыл бұрын
lst=list() This is not working....
@JacklinSibiyal
@JacklinSibiyal 5 ай бұрын
Day 1- 16/02/2024
@ShafinShihan
@ShafinShihan Ай бұрын
Now?
@hrithiksharma5642
@hrithiksharma5642 3 жыл бұрын
bhai is me add bhot areee h ????
@visheshg366
@visheshg366 3 жыл бұрын
ad blocker
@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?
@hometvfirestick
@hometvfirestick 2 жыл бұрын
thanks
Tutorial 3- Python Sets, Dictionaries and Tuples
16:05
Krish Naik
Рет қаралды 215 М.
Tutorial 4 - Numpy and Inbuilt Functions Tutorial
26:42
Krish Naik
Рет қаралды 295 М.
LOVE LETTER - POPPY PLAYTIME CHAPTER 3 | GH'S ANIMATION
00:15
10 Python Comprehensions You SHOULD Be Using
21:35
Tech With Tim
Рет қаралды 129 М.
5 Useful F-String Tricks In Python
10:02
Indently
Рет қаралды 277 М.
Python 101: Learn the 5 Must-Know Concepts
20:00
Tech With Tim
Рет қаралды 1,1 МЛН
Tutorial 1- Anaconda Installation and Python Basics
19:05
Krish Naik
Рет қаралды 465 М.
Please Master These 10 Python Functions…
22:17
Tech With Tim
Рет қаралды 85 М.
How To Become Expertise in Exploratory Data Analysis
10:05
Krish Naik
Рет қаралды 175 М.
If __name__ == "__main__" for Python Developers
8:47
Python Simplified
Рет қаралды 386 М.
25 Nooby Pandas Coding Mistakes You Should NEVER make.
11:30
Rob Mulla
Рет қаралды 263 М.
LOVE LETTER - POPPY PLAYTIME CHAPTER 3 | GH'S ANIMATION
00:15