In this Python tutorial, I will show you how to write a While loop. A While loop can be used to execute a set of code as long as some condition is met. Hypothetically, a While loop can loop forever (as opposed to a For loop, which will only loop for a pre-defined number of times). If you are getting lost in class, or you have trouble understanding your textbook, then please watch this video!
To see all of our educational videos, please go to our YouTube channel here. Thank you!