diff options
| author | Christian Cunningham <cc@local.lan> | 2026-03-05 14:57:35 -0800 |
|---|---|---|
| committer | Christian Cunningham <cc@local.lan> | 2026-03-05 14:57:35 -0800 |
| commit | 693e4fc288bdbd6389c51407ee2e162d30051f86 (patch) | |
| tree | 46866ee2468002a848f967528f5e0be30f81a12b /good_function.py | |
| parent | c25c79f1ba719cd999ff81568622c4c3ad8171d8 (diff) | |
Cleanup script
Diffstat (limited to 'good_function.py')
| -rw-r--r-- | good_function.py | 9 |
1 files changed, 9 insertions, 0 deletions
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 + |
