Python

If and While (Control Structures) – Python Like a Pro #7

Two elementary yet universal control structures are the if / else statement and the while loop. The if statement allows you to control the flow of a program based on a Boolean (true/false) condition, while a while loop repeats a section of code while a condition is true, terminating as soon as the condition becomes false. Both control structures are essential for any novice programmer.

Check out my book, “Building Smart LEGO MINDSTORMS EV3 Robots,” available on Amazon: https://amzn.to/2MyGVCl

My Patreon supporters for more than $5 for the month of August were: Louson and Jeffrey Jahja. Thank you very much!

My supporters on Patreon contribute additional funding that allow me to build up and improve this channel and to make more videos. If you would like to help, you can support me here: https://www.patreon.com/builderdude35

Special thanks to my friend Preston Nichols for designing Builderdude35’s introduction and logo!