Aside from all its numerical computation, Paranoia employs a modest number of utility functions pertaining to user interaction and some handy mathematical functions.
To get things started, here is a function intended never
to be called. Paranoia invokes notify()
in
half a dozen places, when a sanity check is made for
a situation that should not arise.
# ----START UTILITIES----
def notify(s):
"""When the impossible happens, send up a flare."""
print("{:s} test appears to be inconsistent...".format(s))
print(" PLEASE NOTIFY THE AUTHOR!\n")
return