Skip to content

Commit

Permalink
Fix markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
richelbilderbeek committed Aug 30, 2024
1 parent b790306 commit 21858b7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
3 changes: 2 additions & 1 deletion docs/misc/evaluation.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@
- In Python, I can use command-line arguments
- In Python, I can import the `matplotlib` library
- In Python, I can use a for loop
- In Python, I can write a function without an argument and without a return type
- In Python,
I can write a function without an argument and without a return type
- In Python, I can write a function that calls a function
- In Python, I can write a function that requires an argument
- In Python, I can write a function with a return value
Expand Down
8 changes: 6 additions & 2 deletions docs/sessions/variables_expressions_and_statements_2.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,8 @@ Then in section 2.14, do exercises 6 and 7.

!!! question "2.14.6"

Evaluate the following numerical expressions in your head, then use the Python interpreter to check your results:
Evaluate the following numerical expressions in your head,
then use the Python interpreter to check your results:

```
>>> 5 % 2
Expand All @@ -224,7 +225,10 @@ Then in section 2.14, do exercises 6 and 7.
```

What happened with the last example?
Why? If you were able to correctly anticipate the computer’s response in all but the last one, it is time to move on. If not, take time now to make up examples of your own. Explore the modulus operator until you are confident you understand how it works.
Why? If you were able to correctly anticipate the computer’s response in
all but the last one, it is time to move on. If not, take time now to make
up examples of your own. Explore the modulus operator until you are
confident you understand how it works.


???- question "Answer"
Expand Down

0 comments on commit 21858b7

Please sign in to comment.