From b9c68520d572bf70eff8e554a8ee9c8702c88e6e Mon Sep 17 00:00:00 2001 From: Reuven Lerner Date: Sun, 29 Aug 2021 16:49:12 +0300 Subject: [PATCH 1/2] Updated files --- ch04-dicts/e14b1_simple_login.py | 2 +- ch05-files/scores/json-files/9a.json | 6 ++++++ ch05-files/scores/json-files/9b.json | 6 ++++++ 3 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 ch05-files/scores/json-files/9a.json create mode 100644 ch05-files/scores/json-files/9b.json diff --git a/ch04-dicts/e14b1_simple_login.py b/ch04-dicts/e14b1_simple_login.py index 0983c1c..8630bcb 100755 --- a/ch04-dicts/e14b1_simple_login.py +++ b/ch04-dicts/e14b1_simple_login.py @@ -2,7 +2,7 @@ """Solution to chapter 4, exercise 14: beyond 1: simple_login""" -USERS = {'root': 1234, 'ceo': '!!!!!', 'reuven': 'GrEaTpW?'} +USERS = {'root': '1234', 'ceo': '!!!!!', 'reuven': 'GrEaTpW?'} def login(): diff --git a/ch05-files/scores/json-files/9a.json b/ch05-files/scores/json-files/9a.json new file mode 100644 index 0000000..52b7593 --- /dev/null +++ b/ch05-files/scores/json-files/9a.json @@ -0,0 +1,6 @@ +[{"math" : 90, "literature" : 98, "science" : 97}, + {"math" : 65, "literature" : 79, "science" : 85}, + {"math" : 78, "literature" : 83, "science" : 75}, + {"math" : 92, "literature" : 78, "science" : 85}, + {"math" : 100, "literature" : 80, "science" : 90} +] diff --git a/ch05-files/scores/json-files/9b.json b/ch05-files/scores/json-files/9b.json new file mode 100644 index 0000000..6cf9f3e --- /dev/null +++ b/ch05-files/scores/json-files/9b.json @@ -0,0 +1,6 @@ +[{"math" : 95, "literature" : 92, "science" : 93}, + {"math" : 80, "literature" : 85, "science" : 79}, + {"math" : 68, "literature" : 90, "science" : 90}, + {"math" : 100, "literature" : 78, "science" : 100}, + {"math" : 85, "literature" : 75, "science" : 90} +] From 4f956bd73a466392ac0e99a92cb541dbdefe8d9b Mon Sep 17 00:00:00 2001 From: "Reuven M. Lerner" Date: Tue, 21 Oct 2025 22:22:45 +0300 Subject: [PATCH 2/2] Update README with additional resources and links Added promotional links to various resources and platforms. --- README.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 16ca613..50dba89 100644 --- a/README.md +++ b/README.md @@ -4,10 +4,16 @@ My book, "Python Workout" (https://PythonWorkout.com/) contains 50 exercises tha The main exercises have "pytest" tests, while the "beyond" exercises don't. -While you're welcome to look at this code, you should *NOT* look at it before you work on a solution by yourself! You'll learn the most by actually putting in the work, and trying to solve the problems. Looking at the answer isn't nearly as useful to your learning. +If you like this, you might also like: -Don't forget that my free, weekly "Better developers" newsletter (currently read by about 18,000 people) contains a new Python-related article each week. Sign up at https://BetterDevelopersWeekly.com/ . +- My YouTube channel: https://YouTube.com/reuvenlerner +- Better developers, new, free articles about Python every week: https://BetterDevelopersWeekly.com/ +- "Bamboo Weekly," where I analyze data related to current events using Pandas: https://www.BambooWeekly.com/ +- My Bluesky feed: https://bsky.app/profile/lernerpython.com +- My first book, "Python Workout": https://PythonWorkout.com/ +- My second book, "Pandas Workout": https://PandasWorkout.com/ +- LinkedIn, where I also post: https://linkedin.com/in/reuven -Enjoy! +Want to get access to all of my courses? Check out my classes at https://LernerPython.com/ -_Reuven_ +And of course, you can always e-mail me at reuven@LernerPython.com .