While Loop - Python for Absolute Beginners course.

Published: 31 May 2022
on channel: Programming With Nick
372
13

In this Python for beginners tutorial we are going to learn the following:
How to create a While
When to use a While loop
How to create an endless While Loop.
We will practice our skills with an excersice.

In this video we are going to learn about the While loop. So far, we have learned about the for loop, a programming expression that we use when we need a block of code to be executed a specific number of times. The While loop on the other hand, is a kind of programming expression that allow us to repeat a block of code as long as a condition is true. The syntax of the while loop is this:
while (that’s a keyword) a condition is met:
two spaces Command 1
two Command 2
With this syntax we tell the computer: While the condition is true, repeat this block of code.


Watch video While Loop - Python for Absolute Beginners course. online without registration, duration hours minute second in high quality. This video was added by user Programming With Nick 31 May 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 372 once and liked it 13 people.