Python Loops: if/else, for, while and nested loops!!

Опубликовано: 13 Октябрь 2024
на канале: Benjamin Carlson
708
10

In this video take a look at Python loops! We look at if, if/else, and elif loops, for and while loops, and even nested loops!

0:00 | Intro
0:14 | if loop
2:03 | if/else
2:50 | elif
4:02 | more conditional expressions
5:32 | pass keyword
6:27 | nested if loop
8:31 | while loop
10:47 | break keyword
12:02 | continue keyword
13:05 | while/else
13:57 | for loop
15:29 | loop through string literals
15:50 | break/continue keywords
18:30 | range keyword
20:10 | for/else
20:40 | nested for loop
22:07 | pass keyword
22:28 | conclusion

My Gear:
HyperDrive USB C Hub: https://amzn.to/2Wnx35J
Apple MacBook Pro (15-Inch, 16GB RAM, 2.6GHz Intel Core i7): https://amzn.to/3fIS3vo
Logitech M510 Wireless Computer Mouse: https://amzn.to/3dFg6cr
Samsung CF390 Series 27 inch FHD 1920x1080 Curved Desktop Monitor: https://amzn.to/35QxuIB
Google Pixel 4 XL: https://amzn.to/2SWozA7
Wireless Keyboard: https://amzn.to/3cohJez
Google Pixel Buds: https://store.google.com/us/product/p...

CONTACT: [email protected]

Connect with me:
Instagram:   / benscstutorials  
Twitter:   / benscstutorials  
Github: https://github.com/bjcarlson42