From 5a92b4dafa9a9033ccf76f73e4ebb32e8d24ebab Mon Sep 17 00:00:00 2001 From: ojarczyk Date: Sun, 26 Mar 2023 14:02:31 +0200 Subject: [PATCH 1/2] updated requirements file --- requirements.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index 5da331c..45f6358 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ -numpy -pandas +numpy>=1.24.2 +pandas>=1.5.3 From c1e174d77956976b196dda4fc9023dc64b5d87a1 Mon Sep 17 00:00:00 2001 From: ojarczyk Date: Sun, 26 Mar 2023 14:14:35 +0200 Subject: [PATCH 2/2] writing the rationale in code --- solution/solution.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/solution/solution.py b/solution/solution.py index 776d03f..7e95740 100644 --- a/solution/solution.py +++ b/solution/solution.py @@ -1,2 +1,15 @@ + + if __name__ == '__main__': print('Start.') + no_of_eggs = 6 + + eggs_broken = 2 + eggs_unbroken = no_of_eggs-eggs_broken + print('We broke 2 eggs.') + + print('We prepared 2 eggs.') + print('Note: This is vague, as we could "prepare" either the broken eggs, ' + 'unbroken eggs, or 1 broken and 1 unbroken. ') + print(' - preparing in this context simply mean applying some heat, "cooking them"') +