From 243cf176ebb41727a1e40179cba531ddd90905dd Mon Sep 17 00:00:00 2001 From: Andy <159312225+Mw4mba@users.noreply.github.com> Date: Mon, 12 Aug 2024 16:11:24 +0200 Subject: [PATCH] Update week3-theory.html Signed-off-by: Andy <159312225+Mw4mba@users.noreply.github.com> --- python/week3-theory.html | 39 ++++++++++++++++++++------------------- 1 file changed, 20 insertions(+), 19 deletions(-) diff --git a/python/week3-theory.html b/python/week3-theory.html index 0023494..74685e6 100644 --- a/python/week3-theory.html +++ b/python/week3-theory.html @@ -160,7 +160,7 @@

Introduction

Theory

-

What is a control structure

+

What is a control structure?

Control structured are ways to control the direction of a program based of a given condition. A useful analogy to keep in mind is the way that conditions may make you choose one route over another when driving, be it the amount of traffic or the overall distance of the path. Now there is significantly less variability in the nature of the conditions used in programming, however we can highlight a few of the condition types: