{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# 9. While Loops\n", "\n", "**While loops** are control flow statements used to repeatedly execute a block of code as long as a specified condition remains true. They provide a way to iterate over a block of code until a certain condition is met.\n", "\n", "We'll learn about the following topics:\n", "\n", " - [9.1. Introduction to While Loops](#Introduction_to_While_Loops)\n", " - [9.2. Pass, Break, Continue Statements](#Pass_Break_Continue_Statements)\n", " - [9.3. One-Line while Loops](#OneLine_while_Loops)\n", " - [9.4. Useful Functions and Operators for Loops](#Useful_Functions_and_Operators_for_Loops)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "
\n",
"
\n",
"
\n",
"
\n",
"