From f54f8690cab3b2495fb611586478abd7df57cd89 Mon Sep 17 00:00:00 2001 From: Eise Nota Date: Wed, 18 Sep 2024 11:09:52 +0200 Subject: [PATCH] Update chapter_2.md --- course/practicals/chapter_2.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/course/practicals/chapter_2.md b/course/practicals/chapter_2.md index 480b891..9949600 100644 --- a/course/practicals/chapter_2.md +++ b/course/practicals/chapter_2.md @@ -387,11 +387,11 @@ plt.ylabel('$C_{t}/C_{0}$') Answer the following questions: -1. Is a for loop or an if loop more appropriate in this situation? Why? +1. Is a for loop or an if statement more appropriate in this situation? Why? -2. Can you think of an example where an if loop is appropriate but a for loop is not? +2. Can you think of an example where an if statement is appropriate but a for loop is not? -3. Can you think of an example where you need to combine an if and for loop? +3. Can you think of an example where you need to combine an if statement and for loop? _Answer open questions as remarks in separate lines starting with: '#'_.