As long as the function name, return statement and parameters are clear, you’re fine.

def incr n
    return n + 1

or

let incr(n) = n + 1

or

function incr (n)
    return n + 1

are all quite clear, so you may use them. Try not to be ambiguous with a variable affectation