Skip to content

Commit

Permalink
Update chapter_2.md
Browse files Browse the repository at this point in the history
  • Loading branch information
EiseWN committed Sep 18, 2024
1 parent f6e5780 commit f54f869
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions course/practicals/chapter_2.md
Original file line number Diff line number Diff line change
Expand Up @@ -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: '#'_.

Expand Down

0 comments on commit f54f869

Please sign in to comment.