From 212910a815e717e90671a7a5de37d64b911174b2 Mon Sep 17 00:00:00 2001 From: eniompw <71254710+eniompw@users.noreply.github.com> Date: Tue, 23 Jan 2024 10:33:05 +0000 Subject: [PATCH 1/2] Create library.py --- Modules/library.py | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 Modules/library.py diff --git a/Modules/library.py b/Modules/library.py new file mode 100644 index 0000000..3ff7f48 --- /dev/null +++ b/Modules/library.py @@ -0,0 +1,2 @@ +def square(x): + return x*x From d395d3789b17fe99ec5c5890a43574dd41c489ac Mon Sep 17 00:00:00 2001 From: eniompw <71254710+eniompw@users.noreply.github.com> Date: Tue, 23 Jan 2024 10:33:22 +0000 Subject: [PATCH 2/2] Create main.py --- Modules/main.py | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 Modules/main.py diff --git a/Modules/main.py b/Modules/main.py new file mode 100644 index 0000000..653924e --- /dev/null +++ b/Modules/main.py @@ -0,0 +1,4 @@ +import library as l + +out = l.square(5) +print(out)