• But... It's not even a factorial, is it?

    an exclamation mark is also a factorial in math, and people like to feel smarter than other people by calling it a factorial when the op is clearly using it as an exclamation mark.

    No, I get that - but to be a factorial in the mathematical sense, it would need to be placed directly after the number, right? The most generous interpretation I can give here is that it denotes the factorial if the value of the variable "slices"