Closed bradleysigma closed 3 years ago
I don't see it being triggered a lot, but people will probably complain about it.
So if I say something like "They only gave you 18!," this is going to trigger? Is there any reason it can't operate on demand like the other scripts? !factorial 18
Correct. Because it's more amusing this way.
I also don't think it'll be triggered too often but it'll mildly annoying. With that said, if you make it to be a(n im)probabilistic event (say, if random.random() < 0.1
) I think it's fine.
@bradleysigma I think Madhav's suggestion is good. If you set the probability at 5% or less and mock the probability for the test I'll review and merge this.
Calculates factorials. Aggressively.