Skip to content

Commit 15f8d2d

Browse files
authored
[Concept Exercise Fixes] Fix headings in Black Jack and Mecha Munch Management introductions (#4235)
1 parent 27e0fa7 commit 15f8d2d

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

exercises/concept/black-jack/.docs/introduction.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Introduction
2+
13
## Comparisons
24

35
Python supports the following basic comparison operators:

exercises/concept/mecha-munch-management/.docs/introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ The `dict` class in Python provides many useful [methods][dict-methods] for work
44
Some were introduced in the concept for `dicts`.
55
Here we cover a few more - along with some techniques for iterating through and manipulating dictionaries.
66

7-
### Use `setdefault()` for Error-Free Insertion
7+
## Use `setdefault()` for Error-Free Insertion
88

99
The dictionary concept previously covered that `.get(key, <default value>)` returns an existing `value` or the `default value` if a `key` is not found in a dictionary, thereby avoiding a `KeyError`.
1010
This works well in situations where you would rather not have extra error handling but cannot trust that a looked-for `key` will be present.

0 commit comments

Comments
 (0)