79429302

Date: 2025-02-11 08:30:14
Score: 1
Natty:
Report link

Simple version:

RAND() > 0.5

Bonus: Move 0.5 between 0 and 1 for weighted probabilities.

Eg, for the statement RAND() > 0.8:

P(FALSE) = 80%, P(TRUE) = 20%.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: sauceman