From 37e4fc10eb12f0dcf53b3518403681b33901fc80 Mon Sep 17 00:00:00 2001 From: Antoine Date: Wed, 27 Mar 2024 18:41:28 +0100 Subject: [PATCH 1/3] Added korbit-tutorial-19082277d5f0a29e/__init__.py --- korbit-tutorial-19082277d5f0a29e/__init__.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 korbit-tutorial-19082277d5f0a29e/__init__.py diff --git a/korbit-tutorial-19082277d5f0a29e/__init__.py b/korbit-tutorial-19082277d5f0a29e/__init__.py new file mode 100644 index 0000000..e69de29 From fa2feb8db4e447ca49d415783195c05e3402e82a Mon Sep 17 00:00:00 2001 From: Antoine Date: Wed, 27 Mar 2024 18:41:28 +0100 Subject: [PATCH 2/3] Added korbit-tutorial-19082277d5f0a29e/do_work.py --- korbit-tutorial-19082277d5f0a29e/do_work.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 korbit-tutorial-19082277d5f0a29e/do_work.py diff --git a/korbit-tutorial-19082277d5f0a29e/do_work.py b/korbit-tutorial-19082277d5f0a29e/do_work.py new file mode 100644 index 0000000..f1712f2 --- /dev/null +++ b/korbit-tutorial-19082277d5f0a29e/do_work.py @@ -0,0 +1,13 @@ +from korbit-tutorial-19082277d5f0a29e.util import process_work + + +def do_some_work(work_to_be_done: list[str]): + finished_work = [] + for work in work_to_be_done: + finished_work.append(process_work(work)) + return finished_work + + +if __name__ == "__main__": + work_to_be_done = ["these", "are", "some", "words", None] + print(do_some_work(work_to_be_done)) From 75999eb69613324eb263ba5dcd4063c544eebaf9 Mon Sep 17 00:00:00 2001 From: Antoine Date: Wed, 27 Mar 2024 18:41:29 +0100 Subject: [PATCH 3/3] Added korbit-tutorial-19082277d5f0a29e/util.py --- korbit-tutorial-19082277d5f0a29e/util.py | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 korbit-tutorial-19082277d5f0a29e/util.py diff --git a/korbit-tutorial-19082277d5f0a29e/util.py b/korbit-tutorial-19082277d5f0a29e/util.py new file mode 100644 index 0000000..acc5184 --- /dev/null +++ b/korbit-tutorial-19082277d5f0a29e/util.py @@ -0,0 +1,2 @@ +def process_work(work: str): + return reversed(work)