Iterators, Iterables, and Itertools in Python || Python Tutorial || Learn Python Programming
𝙎𝙩𝙖𝙮 𝙞𝙣 𝙩𝙝𝙚 𝙡𝙤𝙤𝙥 𝙄𝙉𝙁𝙄𝙉𝙄𝙏𝙀𝙇𝙔: 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
Пікірлер: 235
Wear a Socratica Python shirt for good luck coding: shop.socratica.com/products/python-by-socratica
Even if one may know the concepts, it is still satisfying to watch Socratica's vids! Thanks!
@Socratica
2 жыл бұрын
Gosh, thank you so much, kind Socratica Friend! We're glad you're here with us! 💜🦉
@wesleydcm
2 жыл бұрын
really xD
@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
2 жыл бұрын
Agree.
As one who appreciates true geek humor, I greatly appreciate Ulka Simone's delivery of "a few closing remarks".
"because that would make sense", killed me! LoL, I remember first learning python and that tripping me up.
@ShreyasBharadwaj
2 жыл бұрын
I swear. The dry humor puts Sahara to shame.
7:30 "remember the range function does not include the final number because that would make sense" lol
@arielspalter7425
2 жыл бұрын
I love her subtle sense of humor. Classy.
@Alex-ns1pj
2 жыл бұрын
That had me 💀
Excited to see Socratica back! Especially the python stuff!
"Who does not love doing the same thing over and over and over ... and over again."
@normanmwanza8225
4 ай бұрын
bro it reminds me of the time doc strange created an infinity loop where he kept coming back even after being killed😂
"I knew that was going to happen, yet still I flinched" BOI 😂
Let's be honest. There're a thon of python vids on KZread out there but the Socratica's ones are by far the best. I want to watch them over and over and over... and over again ...
Ulka is awesome, these tutoriels are an unbelievable amusement.
Glad you are back! I really hope you will do more tutorials on python and even on machine learning or related applications of it.
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
2 жыл бұрын
You are amazing, THANK YOU for spreading the word! 💜🦉
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.
... this is why I love Socratica. Their videos are the gold standard.
@Socratica
2 жыл бұрын
AAAhhh you are too kind. 💜🦉
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.
4.47 "signalling our looping days are over" I has missed this channel and humor....good to have you back
"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.
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.
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!
Wow, this was really well done! Loved the examples given, very cool stuff folks. Glad to see more Socratica videos coming!!!
The closing remarks in this video were eye-opening, thank you!
I love this channel, because I don't just watch to learn, but also for fun which is a real nice change of pace.
Glad to see you back. You make everything follow logically. Great stuff!
I love it. Socratica is so dry and witty but still an effective communicator of what can be quite complex concepts.
Holy smokes, the Poker-Hands calculation in < 20 lines still gives me chills.
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
2 жыл бұрын
Your whole course on python is absolutly best but between the course content it has time huge gap.
These videos are so well-done, so informative, and so inspirational. I love them so much.
Your videos are all so high quality! Thank you! And, the humor you add doesn't hurt either!
I love the form of presentation and how you give the word „Python“ a nice melody along with its pronounciation…
One of my favorite Python courses
3:36 this channel has no reason to be this funny!! I love it
The video is so clever. Entertaining and educational at the same time. The concepts are explained so clearly. Great job!
KZread just recommended this to me. This is a unique channel.
All your videos are so helpful and so clever - thank you!
You guys never dissapoint. Great video!
Seriously one of the most enjoyable and enlightening Python videos I've seen. Fantastic work @Socratica
@Socratica
2 жыл бұрын
Thank you for your kind words! So very appreciated. 💜🦉
Yey, my absolute favorite channel is back with Python tutorial!
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!
Those are just so hypnotic...cannot stop watching!!
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
2 жыл бұрын
We're so glad you're with us, Socratica Friend!! 💜🦉
So glad to see you back! Thanks for the great content - I love your videos!!
@Socratica
2 жыл бұрын
We're so happy to be back making more videos!! 💜🦉
I was waiting for it. Really good job
This is golden! Kudos to the team!
first time here and you're already one of my top youtube creators. You make programming interesting
As always...best and top class. Thanks Socratica for such an awesome content. More power to you 👍🙌
Lets appreciate python for creating for loop and Socratica for making us realize its importance
"Loopus interruptus" 😄 I didn't know you can have a "loopus" even down there! 😄
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
Жыл бұрын
We're so glad you've found us! 💜🦉
What a great video!! Worth watching even if you know the concepts.
I never get tired of these
What a precise lecture is this!!
Happy to see you after a long time socratica.
This is really high quality stuff. Thanks for sharing
Honestly the best python tutorials on the internet
Hey!!!!!!!! Thanks for being back.... more power to you!
absolutely brilliant!! not to mention that the lady's sense of humour is awesome : D
The teaching methodology is really AWOSOME !!!!!!!!!!
StopIteration exception: "I knew that was going to happen. And yet, I flinched." Pure, nerdy genius.
I love the humor... Or lack thereof... very intriguing lesson.
Nicely presented. Thank you. 🙏.
Very good video! Please keep them coming.
I appreciate the content.. Also amazed how carefully the presented
Really happy you are back
Wow! These videos are extremely accurate for python beginners, you guys are amazing
This was masterful thank you!
Thank God now our next generation teacher is back, hope you cover maximum concepts this time a request it is.
"yet I still flinched"😮 Now thats a true Socratica plot twist😆
Nice to see you again our teacher.
Simply beautiful. Thanks
I absolutely love this channel ❤️
one of the best explanations out there great attitude great production . thanks
Great content 👍 and understood clearly. looking forward for next video in python.
At last! Love it!
Thank you for this, it helped me understand this better!
Aye aye Socratica is back ❤️
Very helpful, thanks! 🙏🏻
Love these videos!
She is back!
Thank you for bringing a sense of humor and fun to STEAM education for all genders and skill/age levels :)
Thank you for the video. I am grateful for your time and contribution. Kind regards, Akira.
congratulations ! Amazing content in all the videos !
please continue this series its so satisfying bruh
Oh my! I didn't knew this was an ongoing series. I'll catch up now.
Thank You! You are amazing as usual!
@Socratica
2 жыл бұрын
Thank you for watching today!! 💜🦉
Thank you for this new video!...
Your videos are so freaking good....I love them...
Concise and precise, what more can you ask
The evil mastermind of CS education is back with her hilarious content! All hail the queen! 😂
thank you your videos have helped me a lot
thanks for the new video!
Welcome back Legend! 🙏
Sheesss back!! 🎉
@Socratica
2 жыл бұрын
We're here and we're here and we're ready to iterate
As an non-native speaker I find this tutorial very helpful since I've finally learned cards' names and suits
Love these videos and the hunour. Excellent. TQ TQ TQ! :D
Immediate sub. Great vid.
Awesome tutorials...maybe for C++ in similar lines would be super helpful :) Thanks
ACTUALLY helpful. ty.
I keep watching this video over and over...
Awesome!!!!
I think I'm going to have to loop back on this one.