From 6a8dd160930a3bb649a1f97348375d917febd0b1 Mon Sep 17 00:00:00 2001 From: Nic Lake Date: Thu, 8 Feb 2024 20:19:00 -0600 Subject: [PATCH 1/2] Fixing Exercise 2.1 answers --- solutions-to-exercises/02_python_answers.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/solutions-to-exercises/02_python_answers.py b/solutions-to-exercises/02_python_answers.py index 6107b00..c9246d7 100644 --- a/solutions-to-exercises/02_python_answers.py +++ b/solutions-to-exercises/02_python_answers.py @@ -13,10 +13,10 @@ b) Valid. c) Not valid. Can't start with a number. d) Valid, though convention is to split words with _, not camelCase. -e) `rb1_name`. Valid. Numbers OK as long as they're not in the first spot -f) `flex spot name`. Not valid. No spaces +e) `strike3`. Valid. Numbers OK as long as they're not in the first spot +f) `starting pitcher`. Not valid. No spaces g) `@home_or_away`. Not valid. Only non alphnumeric character allowed is `_` -h) `'pts_per_rec_yd'`. Not valid. A string (wrapped in quotes), not a +h) `'value_over_replacement'`. Not valid. A string (wrapped in quotes), not a variable name. Again, only non alphnumeric character allowed is `_` """ From 96598bf558f6447637384a27f1066eab20cd6b85 Mon Sep 17 00:00:00 2001 From: Nathan Braun Date: Fri, 9 Feb 2024 09:27:24 -0600 Subject: [PATCH 2/2] Update changelog --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 780628a..f293f1b 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,9 @@ If I were using Windows, it might look like this: Set these aside for now and we'll pick them up in chapter 2. ## Changelog +### v0.9.8 (2024-02-09) +Fixed answers for exercise 2.1 (thanks for the pull request Nic!). + ### v0.9.7 (2024-02-07) Minor typos.