#Java2K, 9 bytes
Java2K, 9 bytes
I don't recommend trying to write an approximation of a deterministic program in this language.
11 6/*/_\
This function has a 90% chance to return 1
, otherwise it will return a random number. 11 6
is the name of the division function. A function is called like <name>/<arg0>/<arg1>\
. Basicaly every function returns the "correct" result 90% of the time, or else a random number.
The token * is replaced by a random number, say 203. The _ token is replaced by the previous argument, i.e. 203. So, this function will divide 203 by 203 which has (see below) a 90% chance of returning 1.