`while` Loop

This lesson will introduce us to the syntax and implementation of the `while` loop.

Introduction

The while loop also repeats a portion of code over and over, but if and only if a condition is met or is evaluated to True.

Syntax in python

while loop syntax in Python:

 ...

Get hands-on with 1400+ tech skills courses.