1 2 3 4 5 6 7 8 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