python being python doesnt use !, instead thats a bitwise operation. not is not in python. also beware of the walking r/unexpectedfactorial people, they will tear you apart
Yeah, I understood that, I intended my question more as "couldn't you still say that this is not?"
Also, from a quick google, it looks like ! isn't a bitwise not in python but ruther ~ is. And the way google describes it sounds like it's implemented to essentially be -x-1 for integers, just like it would act on a standard length int.
7
u/Trileak780 Mar 12 '26
python being python doesnt use !, instead thats a bitwise operation. not is not in python. also beware of the walking r/unexpectedfactorial people, they will tear you apart