Iterators, Iterables, and Itertools in Python || Python Tutorial || Learn Python Programming

  Рет қаралды 116,036

Socratica

Socratica

2 жыл бұрын

𝙎𝙩𝙖𝙮 𝙞𝙣 𝙩𝙝𝙚 𝙡𝙤𝙤𝙥 𝙄𝙉𝙁𝙄𝙉𝙄𝙏𝙀𝙇𝙔: snu.socratica.com/python For-loops in Python do a lot of work for you. By learning HOW iteration works, you will be able to add iteration to your own classes and create custom iterable objects. Python also gives you an "itertools" module which contains a lot of convenience functions to save you time and streamline your code.
We were able to bring you this video thanks to our generous Kickstarter backers! Find their names hidden (okay, not very hidden) in the video!
Socratica Friends, we have a quiet little email group for Python if you'd like to receive updates (can't count on YT for notifications). Sign up here: snu.socratica.com/python
⧓⧓⧓⧓⧓
Subscribe to Socratica + bell for notifications:
bit.ly/SocraticaSubscribe
Find our programming playlists here:
Python programming: bit.ly/PythonSocratica
SQL programming: bit.ly/SQL_Socratica
⧓⧓⧓⧓⧓
We recommend:
How to Be a Great Student
ebook: amzn.to/2Lh3XSP
Paperback: amzn.to/3t5jeH3
Kindle Unlimited (read free): amzn.to/3atr8TJ
Python Cookbook, 3rd edition
amzn.to/3goRmbG
The Mythical Man Month - Essays on Software Engineering & Project Management
amzn.to/2tYdNeP
Shop Amazon Used Textbooks - Save up to 90%
amzn.to/2pllk4B
⧓⧓⧓⧓⧓
Join this channel to get access to perks:
/ @socratica
Support Socratica on Patreon:
/ socratica
⧓⧓⧓⧓⧓
Python instructor: Ulka Simone Mohanty (@ulkam on Twitter)
Written & Produced by Michael Harrison
#Python #Iterators #Coding

Пікірлер: 231
@Socratica
@Socratica 2 жыл бұрын
Wear a Socratica Python shirt for good luck coding: shop.socratica.com/products/python-by-socratica
@elboon_80
@elboon_80 2 жыл бұрын
Even if one may know the concepts, it is still satisfying to watch Socratica's vids! Thanks!
@Socratica
@Socratica 2 жыл бұрын
Gosh, thank you so much, kind Socratica Friend! We're glad you're here with us! 💜🦉
@wesleydcm
@wesleydcm 2 жыл бұрын
really xD
@pvic6959
@pvic6959 2 жыл бұрын
Yes this is me! Not only do I have a computer science degree, I am also a software engineer now LOL. but I LOVE these. Im soooo glad to see a new video!
@kamalkishor1379
@kamalkishor1379 2 жыл бұрын
Agree.
@6754bettkitty
@6754bettkitty 2 жыл бұрын
7:30 "remember the range function does not include the final number because that would make sense" lol
@arielspalter7425
@arielspalter7425 2 жыл бұрын
I love her subtle sense of humor. Classy.
@Alex-ns1pj
@Alex-ns1pj 2 жыл бұрын
That had me 💀
@murphygreen8484
@murphygreen8484 2 жыл бұрын
"because that would make sense", killed me! LoL, I remember first learning python and that tripping me up.
@ShreyasBharadwaj
@ShreyasBharadwaj 2 жыл бұрын
I swear. The dry humor puts Sahara to shame.
@rweaver6
@rweaver6 2 жыл бұрын
As one who appreciates true geek humor, I greatly appreciate Ulka Simone's delivery of "a few closing remarks".
@ryancopeland1582
@ryancopeland1582 2 жыл бұрын
"I knew that was going to happen, yet still I flinched" BOI 😂
@wesleydcm
@wesleydcm 2 жыл бұрын
"Who does not love doing the same thing over and over and over ... and over again."
@normanmwanza8225
@normanmwanza8225 Ай бұрын
bro it reminds me of the time doc strange created an infinity loop where he kept coming back even after being killed😂
@tylernardone3788
@tylernardone3788 2 жыл бұрын
Excited to see Socratica back! Especially the python stuff!
@amzabdrahim3350
@amzabdrahim3350 2 жыл бұрын
Ulka is awesome, these tutoriels are an unbelievable amusement.
@AmeerulIslam
@AmeerulIslam 2 жыл бұрын
words! 04:47 These 7 lines should help you understand the mechanics of iteration. 04:51 While these 2 lines should help you appreciate the for-loop.
@savant_logics
@savant_logics 2 жыл бұрын
... this is why I love Socratica. Their videos are the gold standard.
@Socratica
@Socratica 2 жыл бұрын
AAAhhh you are too kind. 💜🦉
@PoeheeHeLul
@PoeheeHeLul 2 жыл бұрын
"You need to know your ABC's". So dry and funny (Even more funny if you know beforehand what ABC's are). These video's are made with so much love and attention for details.
@mrmuranga
@mrmuranga 2 жыл бұрын
4.47 "signalling our looping days are over" I has missed this channel and humor....good to have you back
@aynalemsitotaw7566
@aynalemsitotaw7566 2 жыл бұрын
Glad you are back! I really hope you will do more tutorials on python and even on machine learning or related applications of it.
@pvic6959
@pvic6959 2 жыл бұрын
I'm so happy to see a new video!! These are my FAVORITE python tutorials (though I already know all these concepts haha). when I was in college a couple years ago, I would tell EVERYONE about this channel. Its so unique, so relaxing, so humorous, so educational. These tutorials stand out among the sea of tutorials on youtube
@Socratica
@Socratica 2 жыл бұрын
You are amazing, THANK YOU for spreading the word! 💜🦉
@pineapple3832
@pineapple3832 Жыл бұрын
When I first started watching Socratica's videos with Ulka I thought the "robot persona" was cheesy, but after several videos, I'm realizing she's actually quite funny without being overly so, and her delivery fits the material thematically. Also her tone and cadence lends itself to being clear and easy to understand, which is actually the most important thing. So I now consider these some of the best Python videos on youtube.
@KlausbergerYT
@KlausbergerYT 2 жыл бұрын
Holy smokes, the Poker-Hands calculation in < 20 lines still gives me chills.
@4g4m3n0n
@4g4m3n0n 2 жыл бұрын
Wow, this was really well done! Loved the examples given, very cool stuff folks. Glad to see more Socratica videos coming!!!
@serta5727
@serta5727 2 жыл бұрын
One of my favorite Python courses
@Skyfox94
@Skyfox94 2 жыл бұрын
Even as somebody who has written many a script in Python I can still learn from these videos. That's why I originally subbed to Socratica.
@cuthbertmilligen
@cuthbertmilligen 2 жыл бұрын
Glad to see you back. You make everything follow logically. Great stuff!
@BrianEdwardAshmore
@BrianEdwardAshmore 2 жыл бұрын
The closing remarks in this video were eye-opening, thank you!
@pile333
@pile333 2 жыл бұрын
"Loopus interruptus" 😄 I didn't know you can have a "loopus" even down there! 😄
@omesner
@omesner 2 жыл бұрын
Your videos are all so high quality! Thank you! And, the humor you add doesn't hurt either!
@GOTHICforLIFE1
@GOTHICforLIFE1 2 жыл бұрын
These are so well made, and additionally cover stuff you don't really think about. Once you can handle a for loop you think you got things covered, forgetting that there are many flexible things you can do with iterations outside the simple for loop. Very cool!
@kcmichaelm
@kcmichaelm 2 жыл бұрын
These videos are so well-done, so informative, and so inspirational. I love them so much.
@GoGetFletch
@GoGetFletch 5 ай бұрын
I love it. Socratica is so dry and witty but still an effective communicator of what can be quite complex concepts.
@pvic6959
@pvic6959 2 жыл бұрын
3:36 this channel has no reason to be this funny!! I love it
@PahpriosGaming
@PahpriosGaming 2 жыл бұрын
I love this channel, because I don't just watch to learn, but also for fun which is a real nice change of pace.
@Shubh22
@Shubh22 2 жыл бұрын
Yey, my absolute favorite channel is back with Python tutorial!
@rweaver6
@rweaver6 Жыл бұрын
StopIteration exception: "I knew that was going to happen. And yet, I flinched." Pure, nerdy genius.
@zacky7862
@zacky7862 2 жыл бұрын
KZbin just recommended this to me. This is a unique channel.
@bisratgetachew8373
@bisratgetachew8373 2 жыл бұрын
You guys never dissapoint. Great video!
@swannschilling474
@swannschilling474 2 жыл бұрын
Those are just so hypnotic...cannot stop watching!!
@DrMV1
@DrMV1 2 жыл бұрын
I love the form of presentation and how you give the word „Python“ a nice melody along with its pronounciation…
@joelhowe
@joelhowe 2 жыл бұрын
All your videos are so helpful and so clever - thank you!
@SUNILKUMAR-of3hr
@SUNILKUMAR-of3hr 2 жыл бұрын
I was waiting for it. Really good job
@troy_neilson
@troy_neilson 2 жыл бұрын
Seriously one of the most enjoyable and enlightening Python videos I've seen. Fantastic work @Socratica
@Socratica
@Socratica 2 жыл бұрын
Thank you for your kind words! So very appreciated. 💜🦉
@ramanat3442
@ramanat3442 2 жыл бұрын
Happy to see you after a long time socratica.
@BillAugersdca
@BillAugersdca 2 жыл бұрын
So glad to see you back! Thanks for the great content - I love your videos!!
@Socratica
@Socratica 2 жыл бұрын
We're so happy to be back making more videos!! 💜🦉
@clnguye
@clnguye 8 ай бұрын
The video is so clever. Entertaining and educational at the same time. The concepts are explained so clearly. Great job!
@engrkhan8726
@engrkhan8726 2 жыл бұрын
The teaching methodology is really AWOSOME !!!!!!!!!!
@kapitankidlattv9613
@kapitankidlattv9613 2 жыл бұрын
This is golden! Kudos to the team!
@israelbirhane2068
@israelbirhane2068 2 жыл бұрын
What a precise lecture is this!!
@KayYesYouTuber
@KayYesYouTuber 10 ай бұрын
Simply beautiful. Thanks
@seeker4430
@seeker4430 2 жыл бұрын
Hey!!!!!!!! Thanks for being back.... more power to you!
@chatebillychilima6762
@chatebillychilima6762 2 жыл бұрын
I love the humor... Or lack thereof... very intriguing lesson.
@ultravidz
@ultravidz 2 жыл бұрын
She’s like a AI mother from the future who raises all of humanity
@DarkAion
@DarkAion Жыл бұрын
Socratica. Raising humanity, not errors
@iyanuoluwasowande8447
@iyanuoluwasowande8447 Жыл бұрын
first time here and you're already one of my top youtube creators. You make programming interesting
@vikranttyagiRN
@vikranttyagiRN 2 жыл бұрын
I absolutely love this channel ❤️
@itsmerhlgupta
@itsmerhlgupta 2 жыл бұрын
As always...best and top class. Thanks Socratica for such an awesome content. More power to you 👍🙌
@davidraveh3075
@davidraveh3075 2 жыл бұрын
As I learn from and enjoy the Socratica teaching, I felt I should express my thanks by joining and paying that little to thank and keep it running. Thank you.
@Socratica
@Socratica 2 жыл бұрын
We're so glad you're with us, Socratica Friend!! 💜🦉
@lexolotlgod
@lexolotlgod Жыл бұрын
This is the first video of y'alls I've seen. Incredible, thank you so much! This complements the course I'm taking perfectly.
@Socratica
@Socratica Жыл бұрын
We're so glad you've found us! 💜🦉
@chimchim2_
@chimchim2_ 2 жыл бұрын
I never get tired of these
@FarizDarari
@FarizDarari 2 жыл бұрын
I am a lecturer of a Python course at my univ in Indonesia, and I recommend (+ share links to) this channel to my students :) Thank you for quality learning videos!
@RH-nk7eo
@RH-nk7eo 2 жыл бұрын
This was masterful thank you!
@geetikasuri9318
@geetikasuri9318 2 жыл бұрын
Really happy you are back
@thebuggser2752
@thebuggser2752 2 жыл бұрын
What a great video!! Worth watching even if you know the concepts.
@jacobtrevor3448
@jacobtrevor3448 2 жыл бұрын
Honestly the best python tutorials on the internet
@tomerlevi2640
@tomerlevi2640 Жыл бұрын
one of the best explanations out there great attitude great production . thanks
@Jess-hi4zd
@Jess-hi4zd Жыл бұрын
Thank you for this, it helped me understand this better!
@iamtapasdas
@iamtapasdas 2 жыл бұрын
I appreciate the content.. Also amazed how carefully the presented
@nachoBikeLife
@nachoBikeLife 6 ай бұрын
Very helpful, thanks! 🙏🏻
@OPlutarch
@OPlutarch 10 ай бұрын
Wow! These videos are extremely accurate for python beginners, you guys are amazing
@chriss3154
@chriss3154 2 жыл бұрын
"yet I still flinched"😮 Now thats a true Socratica plot twist😆
@victoriarodriguezdeleon4497
@victoriarodriguezdeleon4497 2 жыл бұрын
This is really high quality stuff. Thanks for sharing
@akira_asahi
@akira_asahi Жыл бұрын
Thank you for the video. I am grateful for your time and contribution. Kind regards, Akira.
@mohammedsaifuddin7040
@mohammedsaifuddin7040 2 жыл бұрын
Nicely presented. Thank you. 🙏.
@herculesrockefeller8969
@herculesrockefeller8969 2 жыл бұрын
I keep watching this video over and over...
@Ibrahim_talib
@Ibrahim_talib 2 жыл бұрын
Nice to see you again our teacher.
@dima1478
@dima1478 2 жыл бұрын
Concise and precise, what more can you ask
@letsjoinhands
@letsjoinhands 2 жыл бұрын
absolutely brilliant!! not to mention that the lady's sense of humour is awesome : D
@edmundobrown5604
@edmundobrown5604 Жыл бұрын
congratulations ! Amazing content in all the videos !
@RichardGreco
@RichardGreco 2 жыл бұрын
Very good video! Please keep them coming.
@kychemclass5850
@kychemclass5850 2 жыл бұрын
Love these videos and the hunour. Excellent. TQ TQ TQ! :D
@wentworthmiller1890
@wentworthmiller1890 2 жыл бұрын
3:54 "Loopus interruptus" - innuendo extraordinaire! 😂
@shekharsrivastava6823
@shekharsrivastava6823 2 жыл бұрын
please continue this series its so satisfying bruh
@Socratica
@Socratica 2 жыл бұрын
Socratica Friends, we have a quiet little email group for Python if you'd like to receive updates (can't count on YT for notifications). Sign up here: bit.ly/PythonGroup
@anujkondhalkar9776
@anujkondhalkar9776 2 жыл бұрын
Your whole course on python is absolutly best but between the course content it has time huge gap.
@mhelmers
@mhelmers 2 жыл бұрын
At last! Love it!
@nayan.j
@nayan.j 2 жыл бұрын
Aye aye Socratica is back ❤️
@pablowashington1319
@pablowashington1319 2 жыл бұрын
Thank you for this new video!...
@BitCloud047
@BitCloud047 2 жыл бұрын
Your videos are so freaking good....I love them...
@carlosmunoz5178
@carlosmunoz5178 2 жыл бұрын
thank you your videos have helped me a lot
@puszeq11
@puszeq11 2 жыл бұрын
She is back!
@neens6377
@neens6377 2 жыл бұрын
Thank God now our next generation teacher is back, hope you cover maximum concepts this time a request it is.
@felipedesousafranca
@felipedesousafranca 2 жыл бұрын
Admit it, you subscribed to this channel because of Ulka!
@dineshmister1280
@dineshmister1280 2 жыл бұрын
Great content 👍 and understood clearly. looking forward for next video in python.
@jackieli1724
@jackieli1724 8 ай бұрын
it's an enjoyment to watch your programming video🥰🥰🥰
@lilarreola27
@lilarreola27 2 жыл бұрын
Welcome back Legend! 🙏
@zachary_burrows
@zachary_burrows 2 ай бұрын
Immediate sub. Great vid.
@yuli3873
@yuli3873 2 жыл бұрын
Love these videos!
@muralidhar40
@muralidhar40 4 ай бұрын
ACTUALLY helpful. ty.
@scruffydogdave
@scruffydogdave 2 жыл бұрын
I think I'm going to have to loop back on this one.
@mercygains
@mercygains 2 жыл бұрын
Thank you for bringing a sense of humor and fun to STEAM education for all genders and skill/age levels :)
@willk7184
@willk7184 2 жыл бұрын
Fellow loop lover here. Thanks for the nice video.
@matthewgarcia2431
@matthewgarcia2431 2 жыл бұрын
thanks for the new video!
@jayantjolly
@jayantjolly 2 жыл бұрын
Yes Socratica!! We do appreciate the "for loop"👍👍
@deadman1462
@deadman1462 2 жыл бұрын
Awesome tutorials...maybe for C++ in similar lines would be super helpful :) Thanks
@konradd8545
@konradd8545 2 жыл бұрын
The evil mastermind of CS education is back with her hilarious content! All hail the queen! 😂
@palficsaba1710
@palficsaba1710 2 жыл бұрын
Thank You! You are amazing as usual!
@Socratica
@Socratica 2 жыл бұрын
Thank you for watching today!! 💜🦉
Como ela fez isso? 😲
00:12
Los Wagners
Рет қаралды 27 МЛН
Omega Boy Past 3 #funny #viral #comedy
00:22
CRAZY GREAPA
Рет қаралды 30 МЛН
Когда на улице Маябрь 😈 #марьяна #шортс
00:17
A Deep Dive Into Iterators and Itertools in Python
21:01
ArjanCodes
Рет қаралды 59 М.
Python's Magical Itertools Module
14:33
Tech With Tim
Рет қаралды 78 М.
The FULL Guide To Itertools For Python Developers
29:11
Indently
Рет қаралды 13 М.
Special Methods  ||  Python Tutorial  ||  Learn Python Programming
12:23
5 Good Python Habits
17:35
Indently
Рет қаралды 337 М.
5 Useful Python Decorators (ft. Carberra)
14:34
Indently
Рет қаралды 83 М.
Como ela fez isso? 😲
00:12
Los Wagners
Рет қаралды 27 МЛН