From 693e4fc288bdbd6389c51407ee2e162d30051f86 Mon Sep 17 00:00:00 2001 From: Christian Cunningham Date: Thu, 5 Mar 2026 14:57:35 -0800 Subject: Cleanup script --- good_function.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 good_function.py (limited to 'good_function.py') diff --git a/good_function.py b/good_function.py new file mode 100644 index 0000000..7b68489 --- /dev/null +++ b/good_function.py @@ -0,0 +1,9 @@ +def myfunc(a: int, b: int) -> int: + """# Compute Offset Arithmetic + + a: int + b: int + Returns a + b - 1, which corrects for the off-by-one offset + """ + return a + b - 1 + -- cgit v1.2.1