Uploaded March 2018 | Updated November 2026, 3 hours ago
Fifth video in my python tutorial series. In this video we cover the two different types of loops, for & while loops. Loops allow you to repeatedly execute blocks of code. For loops work great for a set number of iterations as well as iterating through lists. While loops work well with booleans (true or false).
If you have any questions, leave a comment down below!
Feel free to watch on 1.25x or 1.5x speed.
SUBSCRIBE if you enjoyed this video!! More tutorials to be uploaded real soon.
-------------------------
PYTHON TUTORIAL SERIES:
Setup & Installation: youtu.be/RJL6Y761TNE
1. Math & Variables: youtu.be/XM0CtrJYM2A
2. Conditional Statements (if, elif, else): youtu.be/vsVGPcfxEiA
3. Functions: youtu.be/5U95tRdYySA
4. Lists & Tuples: youtu.be/_zFI6ytHHdY
5. For Loops & While Loops: youtu.be/WPF5M_Ic6Fc
Learn to Program a game (mentioned at the start of this video): youtu.be/-8n91btt5d8
-------------------------
Follow me on social media!
Instagram | instagram.com/keithgalli
Twitter | twitter.com/keithgalli
-------------------------
If you are curious to learn how I make my tutorials, check out this video: youtu.be/LEO4igyXbLs
⭐ Kite is a free AI-powered coding assistant that will help you code faster and smarter. The Kite plugin integrates with all the top editors and IDEs to give you smart completions and documentation while you’re typing. I've been using Kite for 6 months and I love it! kite.com/get-kite/?utm_medium=referral&utm_source=youtube&utm_campaign=keithgalli&utm_content=description-only
*I use affiliate links on the products that I recommend. I may earn a purchase commission or a referral bonus from the usage of these links.
Fifth video in my python tutorial series. In this video we cover the two different types of loops, for & while loops. Loops allow you to repeatedly execute blocks of code. For loops work great for a set number of iterations as well as iterating through lists. While loops work well with booleans (true or false).
If you have any questions, leave a comment down below!
Feel free to watch on 1.25x or 1.5x speed.
SUBSCRIBE if you enjoyed this video!! More tutorials to be uploaded real soon.
-------------------------
PYTHON TUTORIAL SERIES:
Setup & Installation: youtu.be/RJL6Y761TNE
1. Math & Variables: youtu.be/XM0CtrJYM2A
2. Conditional Statements (if, elif, else): youtu.be/vsVGPcfxEiA
3. Functions: youtu.be/5U95tRdYySA
4. Lists & Tuples: youtu.be/_zFI6ytHHdY
5. For Loops & While Loops: youtu.be/WPF5M_Ic6Fc
Learn to Program a game (mentioned at the start of this video): youtu.be/-8n91btt5d8
-------------------------
Follow me on social media!
Instagram | instagram.com/keithgalli
Twitter | twitter.com/keithgalli
-------------------------
If you are curious to learn how I make my tutorials, check out this video: youtu.be/LEO4igyXbLs
⭐ Kite is a free AI-powered coding assistant that will help you code faster and smarter. The Kite plugin integrates with all the top editors and IDEs to give you smart completions and documentation while you’re typing. I've been using Kite for 6 months and I love it! kite.com/get-kite/?utm_medium=referral&utm_source=youtube&utm_campaign=keithgalli&utm_content=description-only
*I use affiliate links on the products that I recommend. I may earn a purchase commission or a referral bonus from the usage of these links.










![Solving Leetcode Coding Interview Questions in Python!
Lets do some leetcode coding problems live! Join Saturday at 11am EST for about 2-3 hours of Python problems. Will plan to give some advice on how to strengthen your coding interview skills more generally as well. Hope to see you there!
https://leetcode.com/explore/featured/card/top-interview-questions-easy/
Learn data skills with hands-on exercises & tutorials at Datacamp!
https://datacamp.pxf.io/c/3588040/1012793/13294
Video Timeline!
0:00 - Fixing Live Stream Settings
2:38 - Introduction & what were doing today
4:10 - [Leetcode 412] Fizz Buzz string manipulation problem
22:04 - [Leetcode 189] Rotate Array
46:39 - [Leetcode 217] Contains Duplicate list problem
1:01:44 - [Leetcode 125] Valid Palindrome string problem
1:17:37 - [Leetcode 237] Delete Node in a Linked List (watch my brain not function properly!!!)
2:06:19 - [Leetcode 136] Single Number (trickier problem than it might first seem!)
2:28:52 - [Leetcode 104] Maximum Depth of a Binary Tree
2:47:35 - [Leetcode 36] Valid Sudoku (good function design problem)
Follow me on social media!
Instagram | https://www.instagram.com/keithgalli/
Twitter | https://twitter.com/keithgalli
TikTok | https://tiktok.com/@keithgalli
Practice your Python Pandas data science skills with problems on StrataScratch!
https://stratascratch.com/?via=keith
Join the Python Army to get access to perks!
YouTube - https://www.youtube.com/channel/UCq6XkhO5SZ66N04IcPbqNcw/join
Patreon - https://www.patreon.com/keithgalli
*I use affiliate links on the products that I recommend. I may earn a purchase commission or a referral bonus from the usage of these links. Solving Leetcode Coding Interview Questions in Python!](https://i.ytimg.com/vi/btdna5esLsI/mqdefault.jpg)