Python Tutorial: Slicing Lists and Strings

  Рет қаралды 449,172

Corey Schafer

Corey Schafer

Күн бұрын

Пікірлер: 293
@erichanko
@erichanko 8 жыл бұрын
Corey - fantastic videos man. People often fail to understand the importance of quality explanations. They might think "Oh, I'm stupid, I can't understand this complex concept" when the reality is, someone just hasn't explained it well enough. Excellent work, I really appreciate your channel. Thanks, and cheers!
@AMINE-yy3zb
@AMINE-yy3zb 6 жыл бұрын
You are right!
@Nobody-Nowhere-Nothing
@Nobody-Nowhere-Nothing 6 жыл бұрын
This is especially prevalent in subjects which focus on that which is abstract,e.g. Mathematics. Really, all one needs to understand something is to first believe in their own worth, and to find someone who can explain a subject well. Unfortunately, the former is up to the individual and can't be provided by somebody else, but thankfully, the latter can be provided by Schafer.
@classicsalted
@classicsalted 4 жыл бұрын
exactly. especially CS dojo. His tutorials become shit after a while. he just ''finished it off'', leaving us no where
@Apex1008
@Apex1008 4 жыл бұрын
Absolutely correct.
@bluetortilla
@bluetortilla Жыл бұрын
Corey is the clearest and most concise Python teacher around. You're the best, Corey!
@lakshmikanthappu6176
@lakshmikanthappu6176 7 жыл бұрын
Hey Corey, this is just amazing.i was so much confused with reverse slicing and I am not any more.this is world class tutorial. Cheers man !!!
@cade9880
@cade9880 5 жыл бұрын
I've learned more from your videos today than through an entire semester of Python3 at uni. Thanks so much!
@PhoenixOrion93
@PhoenixOrion93 7 жыл бұрын
Dude. You're the freakin' man. If anyone hasn't told you that today, well there ya go. This helped me so much with my Python assignment, everything you explained was super clear. Cheers mate
@coreyms
@coreyms 7 жыл бұрын
Thanks! Glad it helped.
@kareemali8778
@kareemali8778 2 жыл бұрын
been taking a course at a university for the last 2 months and we are focusing entirely on python. This guy explains everything so well to the bone my mind is blown and my skills are getting better. thanks for your incredible content!
@elcoolerick
@elcoolerick 6 жыл бұрын
I tried 3 different sources to get the hang of it, and this actually made sense 100%. I really appreciate it, I'll be watching your videos instead.
@yourworstnightmare9688
@yourworstnightmare9688 6 жыл бұрын
I love you man! I'm doing my exams for computer sciences and I didn't understand this part. Now I'm all good
@iancharlesmitchell1783
@iancharlesmitchell1783 4 жыл бұрын
I was unable to understand extended slice in my tutorial, this video made me understand, thanks Corey!
@patrickcasa7781
@patrickcasa7781 7 жыл бұрын
I know this video is almost 2 years old but very helpful. You explain it so well and it is simplified. Thank you man some of us who cannot afford computer programming boot camps turn to these online resources. Thank you once again.
@coreyms
@coreyms 7 жыл бұрын
Your welcome. Glad it helped!
@androidynamit
@androidynamit 4 жыл бұрын
Corey I thank you from five years later since you upload this video, your explanation is simple and yet your example is really thorough. I wish we will meet someday so I can thank you personally, god bless.
@AMINE-yy3zb
@AMINE-yy3zb 6 жыл бұрын
Brilliant. Just brilliant. I am going to ask KZbin to put a LOVE button to be able to mark it clearly on each of your videos. Thank man for the good that you are doing to everybody, making things easier for us. Keep it up!
@eliaswitt9086
@eliaswitt9086 3 жыл бұрын
You're the only youtuber who was able to explain this to where I could understand it. Thank you!
@lyujunxiu5407
@lyujunxiu5407 2 жыл бұрын
your explanation is quite clear. And with standard spoken English, I even no need to turn on the subtitle. Thanks a lot.
@user-gd5ne9ok9m
@user-gd5ne9ok9m 5 жыл бұрын
Best videos of slicing that I have watched. I immediately got it!!!
@ifereokibe9146
@ifereokibe9146 5 жыл бұрын
Best slicing tutorial ever made. So simple and easy to follow
@rhythmsaparia8788
@rhythmsaparia8788 4 жыл бұрын
Most positive comments on youtube award goes to - of course Corey!
@navotshiener4503
@navotshiener4503 5 жыл бұрын
It's been a long time since I last saw a youtube video made so well it was worth mentioning. Well done
@DarnastTFT
@DarnastTFT 5 жыл бұрын
A very good teacher. Much better than some of the paid courses on Udemy.
@arslanmehmood6371
@arslanmehmood6371 5 жыл бұрын
this channel is the go to place for beginners like myself.thank you man.you got a sub from Pakistan.
@mgnagaraj3748
@mgnagaraj3748 5 жыл бұрын
Thank you very much Mr.Corey Schafer.. your explanation was very simple, easy to understand and to the point..
@Shivakmishra530
@Shivakmishra530 2 жыл бұрын
Most systematic Python tutorials here👌👌👌👍
@AvailableUsername69
@AvailableUsername69 3 жыл бұрын
Best explanation I've seen of this topic.
@zizo8737
@zizo8737 6 жыл бұрын
U are life saver my teachers don’t explain properly thank you so much ❤️
@mattboxprod
@mattboxprod 2 жыл бұрын
Wow, you covered what I've been confused for 3 days on within two minutes. For some reason, it wasn't explained to me that it was start:end:STEP. I was so confused what double colon meant(::) and i couldn't get my solutions. Also confusing was they called the first value of the slice an INDEX value and the second part the ELEMENT value. I think it's just much easier for learners to just understand the endpoint is THROUGH until endpoint, like a stop. That saved me a lot. thanks a ton!
@NyxNyxie
@NyxNyxie 7 ай бұрын
8 years later, this is still helpful. I struggled understanding slicing for my lesson I had.
@greencatw
@greencatw 5 ай бұрын
fr
@kaushiknelge3034
@kaushiknelge3034 4 ай бұрын
@@greencatw fr
@Korneta2414
@Korneta2414 2 ай бұрын
fr
@gamisr2848
@gamisr2848 10 ай бұрын
Incredibly helpful video for a CS freshman
@deepaksaraswat6663
@deepaksaraswat6663 3 жыл бұрын
Just started to learn python and I think I choose right channel to start with.. Amazing way of explanation.. 👌👌
@ArunKumar-qy6fm
@ArunKumar-qy6fm 5 жыл бұрын
Awesome explanation Corey 😊
@LuaiGhazali
@LuaiGhazali 6 жыл бұрын
Thanks Corey... slicing is very powerful when we know how and when to use it. I just knew from this video that we can use -1 in the step to return the list in reverse order. I think you covered all the tricks we should know about slicing.
@commanderchiefmaster
@commanderchiefmaster Жыл бұрын
Thank you for this concise and easy explanation
@craigcoates6247
@craigcoates6247 4 жыл бұрын
legend, simple, clear, precise, straight to the point, great video very helpful and very time saving thank you
@karimkarim-qm6os
@karimkarim-qm6os 3 жыл бұрын
i was stuck here until i found your video, thank you for your wonderful explanation
@ezdor8877
@ezdor8877 4 жыл бұрын
Why are people disliking this? He showed you exactly what you searched for.
@monishgowda5975
@monishgowda5975 5 жыл бұрын
Amazing Corey!! Your channel is my GOTO reference. Keep it up!
@teetanrobotics5363
@teetanrobotics5363 4 жыл бұрын
one of the best python tutorials
@soumyazyx
@soumyazyx 5 жыл бұрын
Thank you Corey for your time and effort. Keep spreading the knowledge.Always brings smile on face!
@difegam3
@difegam3 4 жыл бұрын
Thank you! Muchas gracias. I was trying to follow a Python tutorial in my own language (Spanish) but man I couldn’t find better explanation than yours.
@maharaj4423
@maharaj4423 4 жыл бұрын
Thanks from the bottom of my heart
@andrews2945
@andrews2945 4 жыл бұрын
2, 4, 6, 8 who do we appreciate! Corey it's, it's Corey!
@smollstag
@smollstag 2 жыл бұрын
thank you for this list slicing tutorial! very simple and easy to follow, completely explained what i was struggling with. thanks a lot!
@sissinacera5344
@sissinacera5344 4 жыл бұрын
you are the best teatcher ever thanks for you
@shreyaschavhan5522
@shreyaschavhan5522 2 жыл бұрын
+ Syntax: list[start:end:step]
@vincentwahidajoubi6450
@vincentwahidajoubi6450 6 жыл бұрын
I'm glad that I'm the 920th that liked this video. So simple yet in details!
@adaariina7175
@adaariina7175 4 жыл бұрын
You make it so easy to understand. Thank you so much. Actually, I am taking an online course but difficult to understand. Respect your hard work.
@ACohen
@ACohen 5 жыл бұрын
Python 3.7.x requires parens for "print"
@JoshuaDHarvey
@JoshuaDHarvey 4 жыл бұрын
Glad you added this comment... I had been wondering why he was able to do that in some of his other videos. Thanks Allen!
@ReddoX30
@ReddoX30 4 жыл бұрын
Thanks for pointing that out!
@sudipbose5191
@sudipbose5191 4 жыл бұрын
Yea hehe
@dk-ho2fo
@dk-ho2fo 6 ай бұрын
Thank you after 5 years
@ivanabregu1
@ivanabregu1 3 жыл бұрын
while True: print("Thanks a lot Corey, you are amazing!")
@shreyashkashyap
@shreyashkashyap 2 жыл бұрын
You really helped me a lot man, thank you very much!
@shazkingdom1702
@shazkingdom1702 5 жыл бұрын
This video made it clear my confusion for a very long time....😮 - 🙏 the slice part is fun....😂
@nxv1235
@nxv1235 4 жыл бұрын
I was confused with this concept, you helped me out man, thank you so much!
@maricampbell8240
@maricampbell8240 5 жыл бұрын
This video is super helpful and enjoyable to watch. I was coding the sample URL example alongside video. I do a lot of web development so the sample URL was relatable and I feel more prepared for a technical interview question related to python and web dev because of this video. Thanks!
@isaNsukuK
@isaNsukuK 4 жыл бұрын
Thanks Corey, you explanation really help me, if im a lecture in programming , i'll make youtube channel so my student can learn if they don't understand it in my class.
@abhisheklagad3694
@abhisheklagad3694 4 жыл бұрын
this is much easier than understanding lecture thank you.
@againstthegrain5914
@againstthegrain5914 6 жыл бұрын
this is such a great video! Im finally starting to understand how lists play a part of this python language!! Thank you so much!
@austinbao
@austinbao 4 жыл бұрын
This tutorial is to die for
@GK-jw8bn
@GK-jw8bn 2 жыл бұрын
best python series ever!
@md.ashfaqurrahmantahashin5031
@md.ashfaqurrahmantahashin5031 6 жыл бұрын
Really glad to you. You are the most amazing I have got. Explanation is simple and as well as deep which makes concept clear. Thanks a lot brother
@timothymaggenti717
@timothymaggenti717 Жыл бұрын
Your videos are well worth the time; thanks so much. Very well done
@Sharmasurajlive
@Sharmasurajlive 2 жыл бұрын
Fantastic and easiest explanation !! Kudos👍
@TheEmperorXavier
@TheEmperorXavier 4 жыл бұрын
This topic was confusing me when i was reading it. However your video just made it so easy.. Thank you soo much
@arjunbhattacharya786
@arjunbhattacharya786 4 жыл бұрын
Exactly man
@arbigobiaalu
@arbigobiaalu 2 жыл бұрын
Thanks for the video, was always confused with the negative indexing
@andreyanosovGK
@andreyanosovGK 5 жыл бұрын
very good explanation
@manjunathk9727
@manjunathk9727 9 жыл бұрын
Clear explanation. Thank you
@madampresident485
@madampresident485 5 жыл бұрын
Thanks Corey. I was struggling with this before.
@TheNomadclub
@TheNomadclub 4 жыл бұрын
really appreciated ! great explanation , crisp !
@shenalsamaranayake7370
@shenalsamaranayake7370 3 жыл бұрын
thank you so much corey or brief explanation about slices.i am a beginner in python so it is hard to understand little things in this.so you did a great job explaining it. thank you so much
@rgm2754
@rgm2754 3 жыл бұрын
Very clear explanation, thanks
@antonlinden5216
@antonlinden5216 5 жыл бұрын
Thanks for the video! Great content!
@kirteekumari3459
@kirteekumari3459 4 жыл бұрын
This was such a clear explanation! thank you so much Corey!
@proscallmenoob1231
@proscallmenoob1231 3 жыл бұрын
really great short explanation .
@rajendrakubde3688
@rajendrakubde3688 2 жыл бұрын
Heyy corey ...u explain simple very well .i found it well intresting .god bless you .keep uploading
@ahicantsee
@ahicantsee 6 жыл бұрын
These videos are phenomenal.
@justgivemeausername
@justgivemeausername 3 жыл бұрын
Thanks for the video, it's clear and easy to understand.
@lydiawang9974
@lydiawang9974 4 жыл бұрын
Great video, easy to understand. +
@kainthjaskaran
@kainthjaskaran 2 жыл бұрын
Amazing explanation!
@pledgeshield
@pledgeshield 5 жыл бұрын
Thank you for the good lesson!
@pankajchauhanvlog
@pankajchauhanvlog 7 ай бұрын
Amazing video , simply beautiful the way you explained it ❤️
@robertdifazio1593
@robertdifazio1593 5 жыл бұрын
mind blown, problems solved. Thanks!
@guywhoasked903
@guywhoasked903 3 жыл бұрын
you explained this way better than my lecturer tbh lmao
@belaymen92
@belaymen92 3 жыл бұрын
Great content ! Great voice ! Perfect
@hasantarek6521
@hasantarek6521 6 жыл бұрын
one of the most confusing parts of python has been clarified after a long time. I have been trying to learn one programming for last 4 years and failed every time because of a lack of quality video like yours. thank you.
@sanjayursal5330
@sanjayursal5330 4 жыл бұрын
Compare the following : print(my_list[-7:-2]) with print(my_list[3:7]) The rule - "End index is not included/inclusive" does not apply if end index is negative ! Or applies only if the end index specified is positive.
@Sasho14
@Sasho14 2 жыл бұрын
Very well explained! Thank you so much!
@joupinahmed6549
@joupinahmed6549 4 жыл бұрын
Great refresher, thanks!
@tremaine6567
@tremaine6567 2 жыл бұрын
This is well explained bro.. thank you so much
@abhijit856
@abhijit856 Жыл бұрын
slicing import concept. Hope it helps # Must maintain the direction # [7:4] Here the direction of index is right to left (
@milliekim5072
@milliekim5072 4 жыл бұрын
Thank you so much, again!
@gauthamambethkar4483
@gauthamambethkar4483 4 жыл бұрын
Thank you Corey. You are just awesome 👍😊
@EastTexasRailfan
@EastTexasRailfan 4 жыл бұрын
Of course this 5 year old youtube vid I can watch for free teaches this better than my college prof making 6 figures
@moinulhoque2160
@moinulhoque2160 4 жыл бұрын
This is great explanation
@rajanip6884
@rajanip6884 Ай бұрын
Superb class sir
@martinkuo1380
@martinkuo1380 4 жыл бұрын
Now it seems so easy.
@abishek20104
@abishek20104 2 жыл бұрын
Thanks very much... That's very informative and useful.✌🏼🙌🏼
@rahelina7176
@rahelina7176 2 жыл бұрын
your videos are such gems :))
@valdemarslucio8490
@valdemarslucio8490 3 жыл бұрын
Great!! Thanks. I Will Became a member!!!
@cameronball3998
@cameronball3998 3 жыл бұрын
This was very helpful, thank you!!!
@ra1785
@ra1785 2 жыл бұрын
Thank you for such a well-explained tutorial! This really helped me!
@trithuckhoahoc
@trithuckhoahoc 6 жыл бұрын
very goods video, clear , thanks you very much
@frederic_viennot
@frederic_viennot 2 жыл бұрын
super concise and clear !!!! amazing !!! thank you;))
@SciHeartJourney
@SciHeartJourney 3 жыл бұрын
Thank you very much! This was very helpful.
Python lists, sets, and tuples explained 🍍
15:06
Bro Code
Рет қаралды 330 М.
Lazy days…
00:24
Anwar Jibawi
Рет қаралды 9 МЛН
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 55 МЛН
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 33 МЛН
Python Tutorial for Beginners 4: Lists, Tuples, and Sets
29:05
Corey Schafer
Рет қаралды 1,5 МЛН
ALL 47 STRING METHODS IN PYTHON EXPLAINED
23:34
Indently
Рет қаралды 144 М.
Python Tutorial: Sorting Lists, Tuples, and Objects
12:07
Corey Schafer
Рет қаралды 278 М.
String Slicing in Python (Part 1)
16:57
Neso Academy
Рет қаралды 46 М.
Every F-String Trick In Python Explained
19:43
Indently
Рет қаралды 28 М.
Python Tutorial: if __name__ == '__main__'
8:43
Corey Schafer
Рет қаралды 2 МЛН
5 Bad Ideas In Python
25:34
Indently
Рет қаралды 24 М.
25 nooby Python habits you need to ditch
9:12
mCoding
Рет қаралды 1,8 МЛН
Lazy days…
00:24
Anwar Jibawi
Рет қаралды 9 МЛН